<commit_before>Image to ASCII
==============

Node.js module that converts a PNG image to ASCII art.

## How to use

### Constructor: `new ImageToAscii (options)`
`options` is an object containing the following fields:
 - `pixels`: string representing the *ASCII pixels* in the brightness order. If not provided, the default value will be used: `" .,:;i1tfLCG08@"`
 - `multiplyWidth`: the width of the ASCII pixles. For keeping the aspect ratio in terminal, the default value is `2`
 - `reverse`: boolean value that indicates if the `pixels` value must be reversed. Default is `undefined`.

### `.convert (imagePath, callback)`
 - `imagePath`: the path to the PNG image
 - `callback`: the callback function

## Example<commit_msg>Updated readme with colored field<commit_after>Image to ASCII
==============

Node.js module that converts a PNG image to ASCII art.

## How to use

### Constructor: `new ImageToAscii (options)`
`options` is an object containing the following fields:
 - `pixels`: string representing the *ASCII pixels* in the brightness order. If not provided, the default value will be used: `" .,:;i1tfLCG08@"`
 - `multiplyWidth`: the width of the ASCII pixles. For keeping the aspect ratio in terminal, the default value is `2`
 - `reverse`: boolean value that indicates if the `pixels` value must be reversed. Default is `undefined`.
 - `colored`: boolean value that indicates if the ASCII art must be colored or not. Default is `undefined`.

### `.convert (imagePath, callback)`
 - `imagePath`: the path to the PNG image
 - `callback`: the callback function

## Example
{'fraction_non_alphanumeric': 0.11460957178841309, 'fraction_numerical': 0.005037783375314861, 'mean_word_length': 4.536585365853658, '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': '6825519', 'n_tokens_mistral': 469, 'n_tokens_neox': 425, 'n_words': 214}