{ "_args": [ [ { "raw": "ansi-wrap@0.1.0", "scope": null, "escapedName": "ansi-wrap", "name": "ansi-wrap", "rawSpec": "0.1.0", "spec": "0.1.0", "type": "version" }, "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/ansi-gray" ] ], "_from": "ansi-wrap@0.1.0", "_id": "ansi-wrap@0.1.0", "_inCache": true, "_location": "/ansi-wrap", "_nodeVersion": "0.12.0", "_npmUser": { "name": "jonschlinkert", "email": "github@sellside.com" }, "_npmVersion": "2.5.1", "_phantomChildren": {}, "_requested": { "raw": "ansi-wrap@0.1.0", "scope": null, "escapedName": "ansi-wrap", "name": "ansi-wrap", "rawSpec": "0.1.0", "spec": "0.1.0", "type": "version" }, "_requiredBy": [ "/ansi-gray" ], "_resolved": "https://registry.npmjs.org/ansi-wrap/-/ansi-wrap-0.1.0.tgz", "_shasum": "a82250ddb0015e9a27ca82e82ea603bbfa45efaf", "_shrinkwrap": null, "_spec": "ansi-wrap@0.1.0", "_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/ansi-gray", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "bugs": { "url": "https://github.com/jonschlinkert/ansi-wrap/issues" }, "dependencies": {}, "description": "Create ansi colors by passing the open and close codes.", "devDependencies": {}, "directories": {}, "dist": { "shasum": "a82250ddb0015e9a27ca82e82ea603bbfa45efaf", "tarball": "https://registry.npmjs.org/ansi-wrap/-/ansi-wrap-0.1.0.tgz" }, "engines": { "node": ">=0.10.0" }, "files": [ "index.js" ], "homepage": "https://github.com/jonschlinkert/ansi-wrap", "keywords": [], "license": { "type": "MIT", "url": "https://github.com/jonschlinkert/ansi-wrap/blob/master/LICENSE" }, "main": "index.js", "maintainers": [ { "name": "jonschlinkert", "email": "github@sellside.com" } ], "name": "ansi-wrap", "optionalDependencies": {}, "readme": "# ansi-wrap [![NPM version](https://badge.fury.io/js/ansi-wrap.svg)](http://badge.fury.io/js/ansi-wrap)\n\n> Create ansi colors by passing the open and close codes.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i ansi-wrap --save\n```\n\n## Usage\n\n```js\nvar wrap = require('ansi-wrap');\n```\n\n**Example**\n\nPass codes for [ansi magenta background](https://github.com/jonschlinkert/ansi-bgmagenta):\n\n```js\nconsole.log(wrap(45, 49, 'This is a message...'));\n//=> '\\u001b[45mfoo\\u001b[49m'\n```\n\nWhich prints out...\n\n[![screen shot 2015-05-21 at 8 28 32 pm](https://cloud.githubusercontent.com/assets/383994/7761769/12488afa-fff8-11e4-9cc1-71a8a6ec14a4.png)](https://www.npmjs.com/)\n\n## Related projects\n\nThis is used in these projects:\n\n* [ansi-reset](https://github.com/jonschlinkert/ansi-reset)\n* [ansi-bold](https://github.com/jonschlinkert/ansi-bold)\n* [ansi-dim](https://github.com/jonschlinkert/ansi-dim)\n* [ansi-italic](https://github.com/jonschlinkert/ansi-italic)\n* [ansi-underline](https://github.com/jonschlinkert/ansi-underline)\n* [ansi-inverse](https://github.com/jonschlinkert/ansi-inverse)\n* [ansi-hidden](https://github.com/jonschlinkert/ansi-hidden)\n* [ansi-strikethrough](https://github.com/jonschlinkert/ansi-strikethrough)\n* [ansi-black](https://github.com/jonschlinkert/ansi-black)\n* [ansi-red](https://github.com/jonschlinkert/ansi-red)\n* [ansi-green](https://github.com/jonschlinkert/ansi-green)\n* [ansi-yellow](https://github.com/jonschlinkert/ansi-yellow)\n* [ansi-blue](https://github.com/jonschlinkert/ansi-blue)\n* [ansi-magenta](https://github.com/jonschlinkert/ansi-magenta)\n* [ansi-cyan](https://github.com/jonschlinkert/ansi-cyan)\n* [ansi-white](https://github.com/jonschlinkert/ansi-white)\n* [ansi-gray](https://github.com/jonschlinkert/ansi-gray)\n* [ansi-grey](https://github.com/jonschlinkert/ansi-grey)\n* [ansi-bgblack](https://github.com/jonschlinkert/ansi-bgblack)\n* [ansi-bgred](https://github.com/jonschlinkert/ansi-bgred)\n* [ansi-bggreen](https://github.com/jonschlinkert/ansi-bggreen)\n* [ansi-bgyellow](https://github.com/jonschlinkert/ansi-bgyellow)\n* [ansi-bgblue](https://github.com/jonschlinkert/ansi-bgblue)\n* [ansi-bgmagenta](https://github.com/jonschlinkert/ansi-bgmagenta)\n* [ansi-bgcyan](https://github.com/jonschlinkert/ansi-bgcyan)\n* [ansi-bgwhite](https://github.com/jonschlinkert/ansi-bgwhite)\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/ansi-wrap/issues/new)\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 21, 2015._", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/jonschlinkert/ansi-wrap.git" }, "scripts": { "test": "mocha" }, "version": "0.1.0" }