|
|
4 gadi atpakaļ | |
|---|---|---|
| .. | ||
| ansi-styles.js | 4 gadi atpakaļ | |
| package.json | 4 gadi atpakaļ | |
| readme.md | 4 gadi atpakaļ | |

ANSI escape codes for colorizing strings in the terminal.
You probably want the higher-level chalk module for styling your strings.
Install with npm: npm install --save ansi-styles
var ansi = require('ansi-styles');
console.log(ansi.green.open + 'Hello world!' + ansi.green.close);
Each style has an open and close property.
MIT © Sindre Sorhus