<commit_before>## fileInfo

File info like PHP's finfo but containing native Node.js file stat.

## Install

```sh
$~ npm install qeremy-file-info
```

## Usage

```js
var fileInfo = require("qeremy-file-info");

var info = fileInfo(__filename);
// var info = fileInfo("./test.js");
// var info = fileInfo("../index.js");
// var info = fileInfo("/usr/bin/node");
// var info = fileInfo("/home/kerem/.bashrc");
console.log(info);

// var info = fileInfo("none");
// console.log(info); // undefined
```<commit_msg>Update README.<commit_after>## fileInfo

File info like PHP's finfo but containing native Node.js file stat.

## Install

```sh
$~ npm install qeremy-file-info
```

## Usage

```js
var fileInfo = require("qeremy-file-info");

var info = fileInfo(__filename);
// var info = fileInfo("./test.js");
// var info = fileInfo("../index.js");
// var info = fileInfo("/usr/bin/node");
// var info = fileInfo("/home/kerem/.bashrc");
console.log(info);

var info = fileInfo("none");
// console.log(info); // undefined
```
{'fraction_non_alphanumeric': 0.20645792563600782, 'fraction_numerical': 0.0, 'mean_word_length': 3.8714285714285714, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1478649', 'n_tokens_mistral': 356, 'n_tokens_neox': 345, 'n_words': 89}