<commit_before># File Info

Quick and easy file info detection in Javascript:

```js
/// The main function:
FileInfo(someVariable); // returns file info from: URL | Base64 | Blob | Buffer

/// Exposed internals that are helpful:
FileInfo.byExtension(someExtension); // returns file info from extension [ex. "gif" | "webm"]
FileInfo.byMime(someMimeType); // returns file info from mimetype [ex. "image/gif" | "video/webm"]
FileInfo.isBlob(someVariable); // true if is Blob | File
FileInfo.isSVGString(someVariable); // true if is SVG String | SVG Base64
```
--------------------------------------------------------------------------------------------------------------

The MIT License

Copyright (c) 2015 <NAME> <https://mudcu.be>. All rights reserved.
<commit_msg>update docs<commit_after># File Info

Quick and easy file info detection in Javascript:

```js
/// The main function:
FileInfo(someVariable); // returns file info from: URL | Base64 | Blob | Buffer

/// Exposed internals that are helpful:
var info = FileInfo.fromBuffer(arrayBuffer);
var info = FileInfo.fromString(string);
var info = FileInfo.byExtension(someExtension); // returns file info from extension [ex. "gif" | "webm"]
var info = FileInfo.byMime(someMimeType); // returns file info from mimetype [ex. "image/gif" | "video/webm"]
var truthy = FileInfo.isBlob(someVariable); // true if is Blob | File
var truthy = FileInfo.isSVGString(someVariable); // true if is SVG String | SVG Base64
```
--------------------------------------------------------------------------------------------------------------

The MIT License

Copyright (c) 2015 <NAME> <https://mudcu.be>. All rights reserved.

{'fraction_non_alphanumeric': 0.24202287778446718, 'fraction_numerical': 0.00963275135460566, 'mean_word_length': 2.4057377049180326, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '694914', 'n_tokens_mistral': 468, 'n_tokens_neox': 444, 'n_words': 159}