<commit_before># shellcolor  [![Build status][travis-image]][travis] [![Code coverage status][coveralls-image]][coveralls]
> ANSI colors to your Node.js app's stdout, stderror, and logs

## Installation

Get shellcolor with npm.

```javascript
npm install shellcolor --save
```

## Usage

Pass a bland string to `shellcolor()`, get a colorful string back.

```javascript
var shellcolor = require('shellcolor');

console.log(shellcolor('<b><green>Success:<green></b> Process started.'));
  
console.warn(shellcolor('<b><yellow>Error:</yellow></b> Something seems wrong....'));

console.error(shellcolor('<b><red>Error:</red></b> Something broke.'));
```

### Tags

The following tags are available:

| Tag               | Affects     | ANSI |
| ------------- --- | ----------- | ----:|
| **`black`**       |        text |   30 |
| **`red`**         |        text |   31 |
| **`green`**       |        text |   32 |
| **`yellow`**      |        text |   33 |
| **`blue`**        |        text |   34 |
| **`magenta`**     |        text |   35 |
| **`cyan`**        |        text |   36 |
| **`white`**       |        text |   37 |
| **`grey`**        |        text |   90 |
| **`bg-black`**    |  background |   40 |
| **`bg-red`**      |  background |   41 |
| **`bg-green`**    |  background |   42 |
| **`bg-yellow`**   |  background |   43 |
| **`bg-blue`**     |  background |   44 |
| **`bg-magenta`**  |  background |   45 |
| **`bg-cyan`**     |  background |   46 |
| **`bg-white`**    |  background |   47 |
| **`bg-grey`**     |  background |  100 |
| **`b`**           |        text |    1 |
| **`i`**           |        text |    3 |
| **`u`**           |        text |    4 |
| **`blink`**       |        both |    5 |


## License

shellcolor is licensed under the permissive BSD license.


[coveralls]: https://coveralls.io/r/lazd/shellcolor
[coveralls-image]: https://coveralls.io/repos/lazd/shellcolor/badge.png?branch=master

[travis]: http://travis-ci.org/lazd/shellcolor
[travis-image]: https://secure.travis-ci.org/lazd/shellcolor.png?branch=master<commit_msg>Removed "Affects" column from tag table<commit_after># shellcolor  [![Build status][travis-image]][travis] [![Code coverage status][coveralls-image]][coveralls]
> ANSI colors to your Node.js app's stdout, stderror, and logs

## Installation

Get shellcolor with npm.

```javascript
npm install shellcolor --save
```

## Usage

Pass a bland string to `shellcolor()`, get a colorful string back.

```javascript
var shellcolor = require('shellcolor');

console.log(shellcolor('<b><green>Success:<green></b> Process started.'));
  
console.warn(shellcolor('<b><yellow>Error:</yellow></b> Something seems wrong....'));

console.error(shellcolor('<b><red>Error:</red></b> Something broke.'));
```

### Tags

The following tags are available:

| Tag                | ANSI |
| ------------------ | ----:|
| **`<black>`**      |   30 |
| **`<red>`**        |   31 |
| **`<green>`**      |   32 |
| **`<yellow>`**     |   33 |
| **`<blue>`**       |   34 |
| **`<magenta>`**    |   35 |
| **`<cyan>`**       |   36 |
| **`<white>`**      |   37 |
| **`<grey>`**       |   90 |
| **`<bg-black>`**   |   40 |
| **`<bg-red>`**     |   41 |
| **`<bg-green>`**   |   42 |
| **`<bg-yellow>`**  |   43 |
| **`<bg-blue>`**    |   44 |
| **`<bg-magenta>`** |   45 |
| **`<bg-cyan>`**    |   46 |
| **`<bg-white>`**   |   47 |
| **`<bg-grey>`**    |  100 |
| **`<b>`**          |    1 |
| **`<i>`**          |    3 |
| **`<u>`**          |    4 |
| **`<blink>`**      |    5 |


## License

shellcolor is licensed under the permissive BSD license.


[coveralls]: https://coveralls.io/r/lazd/shellcolor
[coveralls-image]: https://coveralls.io/repos/lazd/shellcolor/badge.png?branch=master

[travis]: http://travis-ci.org/lazd/shellcolor
[travis-image]: https://secure.travis-ci.org/lazd/shellcolor.png?branch=master
{'fraction_non_alphanumeric': 0.23464119772844605, 'fraction_numerical': 0.021166752710376872, 'mean_word_length': 2.4505788067675867, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 51, 'https://': 6, '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': '4164560', 'n_tokens_mistral': 1473, 'n_tokens_neox': 1389, 'n_words': 271}