<commit_before>console-saver
=============

A simple set of functions that save Chrome console output to HTML5 filesystem. Instead calling console.log(), call this function from your JavaScript file:

'''
fileAppend(text);
'''

Example:
'''
fileAppend(JSON.stringify({ elapsed: timer.elapsed(), mtype: cmd, data: obj }));
'''

The logs should save to a file named log.txt, unless you specify otherwise in the initFs(), appendFirst(), and filedAppend() functions. To access the log file I use the [HTML5 FileSystem Explorer](https://chrome.google.com/webstore/detail/html5-filesystem-explorer/nhnjmpbdkieehidddbaeajffijockaea?hl=en-US) Chrome extension.<commit_msg>Botched README again<commit_after>console-saver
=============

A simple set of functions that save Chrome console output to HTML5 filesystem. Instead calling console.log(), call this function from your JavaScript file:

```
fileAppend(text);
```

Example:
```
fileAppend(JSON.stringify({ elapsed: timer.elapsed(), mtype: cmd, data: obj }));
```

The logs should save to a file named log.txt, unless you specify otherwise in the initFs(), appendFirst(), and filedAppend() functions. To access the log file I use the [HTML5 FileSystem Explorer](https://chrome.google.com/webstore/detail/html5-filesystem-explorer/nhnjmpbdkieehidddbaeajffijockaea?hl=en-US) Chrome extension.
{'fraction_non_alphanumeric': 0.12734082397003746, 'fraction_numerical': 0.0044943820224719105, 'mean_word_length': 5.994764397905759, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4274400', 'n_tokens_mistral': 386, 'n_tokens_neox': 371, 'n_words': 133}