<commit_before>fs-mode-to-string
=================
Create a Unix-permissions string from an `fs.stat` file or directory `mode`, eg `0777`to `-rwxrwxrwx`

## Install

    npm i -S fs-mode-to-string

## Usage

```` javascript
var fs = require('fs');
var modeString = require('fs-mode-to-string');

// Pass an fs.stat object
var dirMode = fs.statSync('.');
console.log(modeString(dirMode));
// -> 'drwxr--r--'

// Pass an integer
console.log(modeString(0777));
// -> '-rwxrwxrwx'

````<commit_msg>Adding funky badges to README<commit_after>fs-mode-to-string
=================
> Create a Unix-like permissions string from an `fs.stat` file or directory `mode`, eg `0777`to `-rwxrwxrwx`

![Travis](https://img.shields.io/travis/andreaspizsa/fs-node-to-string.svg?style=flat-square)
![Downloads](https://img.shields.io/npm/dm/fs-node-to-string.svg?style=flat-square)


## Install

    npm i -S fs-mode-to-string

## Usage

```` javascript
var fs = require('fs');
var modeString = require('fs-mode-to-string');

// Pass an fs.stat object
var dirMode = fs.statSync('.');
console.log(modeString(dirMode));
// -> 'drwxr--r--'

// Pass an integer
console.log(modeString(0777));
// -> '-rwxrwxrwx'

````
{'fraction_non_alphanumeric': 0.21578505457598657, 'fraction_numerical': 0.01343408900083963, 'mean_word_length': 4.115879828326181, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2287668', 'n_tokens_mistral': 462, 'n_tokens_neox': 434, 'n_words': 91}