<commit_before># braille-loaders
> Elegant colorful 60+ spinners inspired by cli-spinners

## Install
``` bash
	npm install braille-loaders --save
```
## Usage

``` Javascript
const brailleLoader = require('baraille-loaders');


var loader = new brailleLoader({
	spinner: 'clock',
	color: 'green'
})

loader.start(); // starting loader
loader.stop(); // stopping loader
loader.setText('Loading pages'); // updating text of loader

```

## API

#### constructor ([options|text])
Incase if a string is provided default dots spinner will be used.

#### options
Type: `Object`

#### text
Type: `string`

Text that will be displayed with spinner

#### spinner
Type: `string`
Default: dots

Note: For list of spinners see cli-spinners `spinner.json`

### color
Type: `string`
Default: `white`
options: `black` `red` 	`green` `yellow` `cyan` `blue` `purple`


### Example

``` Javascript
	var brailleloader = require('braille-loader');
	var loader = new braillloader({
		spinner: 'clock',
		color: 'green',
		text: 'loading'
	})<commit_msg>readme updated<commit_after># braille-loaders
> Elegant colorful 60+ spinners inspired by cli-spinners

## Install
``` bash
	npm install braille-loaders --save
```
## Usage

``` Javascript
const brailleLoader = require('baraille-loaders');


var loader = new brailleLoader({
	spinner: 'clock',
	color: 'green'
})

loader.start(); // starting loader
loader.stop(); // stopping loader
loader.setText('Loading pages'); // updating text of loader

```

## API

#### constructor ([options|text])
Incase if a string is provided default dots spinner will be used.

#### options
Type: `Object`

#### text
Type: `string`

Text that will be displayed with spinner

#### spinner
Type: `string`
Default: dots

Note: For list of spinners see cli-spinners `spinner.json`

### color
Type: `string`
Default: `white`
options: `black` `red` 	`green` `yellow` `cyan` `blue` `purple`


### Example

``` Javascript
	var brailleloader = require('braille-loader');
	var loader = new brailleloader({
		spinner: 'clock',
		color: 'green',
		text: 'loading'
	})
{'fraction_non_alphanumeric': 0.1528046421663443, 'fraction_numerical': 0.0019342359767891683, 'mean_word_length': 4.684065934065934, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6971766', 'n_tokens_mistral': 707, 'n_tokens_neox': 658, 'n_words': 219}