Files
| 📄 .eslintrc.json | 234 B |
| 📄 .gitignore | 22 B |
| 📄 .npmignore | 60 B |
| 📄 .travis.yml | 172 B |
| 📄 LICENSE | 1.2 KB |
| 📄 README.md | 4.5 KB |
| 📄 ROADMAP.md | 1.2 KB |
| 📁 examples | |
| 📄 index.d.ts | 2.9 KB |
| 📁 lib | |
| 📄 package-lock.json | 39 KB |
| 📄 package.json | 1 KB |
| 📄 safe.d.ts | 1.9 KB |
| 📄 safe.js | 248 B |
| 📁 screenshots | |
| 📁 tests | |
| 📁 themes | |
README
# colors.js
[](https://travis-ci.org/Marak/colors.js)
[](https://www.npmjs.org/package/colors)
[](https://david-dm.org/Marak/colors.js)
[](https://david-dm.org/Marak/colors.js#info=devDependencies)
Please check out the [roadmap](ROADMAP.md) for upcoming features and releases. Please open Issues to provide feedback, and check the `develop` branch for the latest bleeding-edge updates.
## get color and style in your node.js console

## Installation
npm install colors
## colors and styles!
### text colors
- black
- red
- green
- yellow
- blue
- magenta
- cyan
- white
- gray
- grey
### bright text colors
- brightRed
- brightGreen
- brightYellow
- brightBlue
- brightMagenta
- brightCyan
- brightWhite
### background colors
- bgBlack
- bgRed
- bgGreen
- bgYellow
- bgBlue
- bgMagenta
- bgCyan
- bgWhite
- bgGray
- bgGrey
### bright background colors
- bgBrightRed
- bgBrightGreen
- bgBrightYellow
- bgBrightBlue
- bgBrightMagenta
- bgBrightCyan
- bgBrightWhite
### styles
- reset
- bold
- dim
- italic
- underline
- inverse
- hidden
- strikethrough
### extras
- rainbow
- zebra
- america
- trap
- random
## Usage
By popular demand, `colors` now ships with two types of usages!
The super nifty way
```js
var colors = require('colors');
console.log('hello'.green); // outputs green text
console.log('i like cake and pies'.underline.red); // outputs red underlined text
console.log('inverse the color'.inverse); // inverses the color
console.log('OMG Rainbows!'.rainbow); // rainbow
console.log('Run the trap'.trap); // Drops the bass
```