{"name":"ansi-styles","version":"1.0.0","description":"ANSI escape codes for colorizing strings in the terminal","keywords":["ansi","styles","color","colour","colors","terminal","console","cli","string","tty","escape","formatting","rgb","256","shell","xterm","log","logging","command-line","text"],"homepage":"https://github.com/sindresorhus/ansi-styles","bugs":{"url":"https://github.com/sindresorhus/ansi-styles/issues"},"license":"MIT","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"files":["ansi-styles.js"],"main":"ansi-styles","repository":{"type":"git","url":"git://github.com/sindresorhus/ansi-styles.git"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"~1.12.0"},"engines":{"node":">=0.8.0"},"readme":"# ansi-styles [![Build Status](https://secure.travis-ci.org/sindresorhus/ansi-styles.png?branch=master)](http://travis-ci.org/sindresorhus/ansi-styles)\n\n> [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for colorizing strings in the terminal.\n\nYou probably want the higher-level [chalk](https://github.com/sindresorhus/chalk) module for styling your strings.\n\n![screenshot](screenshot.png)\n\n\n## Install\n\nInstall with [npm](https://npmjs.org/package/ansi-styles): `npm install --save ansi-styles`\n\n\n## Example\n\n```js\nvar ansi = require('ansi-styles');\n\nconsole.log(ansi.green.open + 'Hello world!' + ansi.green.close);\n```\n\n## API\n\nEach style has an `open` and `close` property.\n\n\n## Styles\n\n### General\n\n- reset\n- bold\n- italic\n- underline\n- inverse\n- strikethrough\n\n### Text colors\n\n- black\n- red\n- green\n- yellow\n- blue\n- magenta\n- cyan\n- white\n- gray\n\n### Background colors\n\n- bgBlack\n- bgRed\n- bgGreen\n- bgYellow\n- bgBlue\n- bgMagenta\n- bgCyan\n- bgWhite\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n","readmeFilename":"readme.md","_id":"ansi-styles@1.0.0","_shasum":"cb102df1c56f5123eab8b67cd7b98027a0279178","_from":"https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.0.0.tgz","_resolved":"https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.0.0.tgz"}