{
  "_args": [
    [
      {
        "raw": "slice-ansi@1.0.0",
        "scope": null,
        "escapedName": "slice-ansi",
        "name": "slice-ansi",
        "rawSpec": "1.0.0",
        "spec": "1.0.0",
        "type": "version"
      },
      "/home/travis/build/lukesargeant/ember-sparkline/node_modules/table"
    ]
  ],
  "_from": "slice-ansi@1.0.0",
  "_id": "slice-ansi@1.0.0",
  "_inCache": true,
  "_location": "/slice-ansi",
  "_nodeVersion": "8.0.0",
  "_npmOperationalInternal": {
    "host": "s3://npm-registry-packages",
    "tmp": "tmp/slice-ansi-1.0.0.tgz_1499681932678_0.883340407628566"
  },
  "_npmUser": {
    "name": "sindresorhus",
    "email": "sindresorhus@gmail.com"
  },
  "_npmVersion": "5.0.0",
  "_phantomChildren": {},
  "_requested": {
    "raw": "slice-ansi@1.0.0",
    "scope": null,
    "escapedName": "slice-ansi",
    "name": "slice-ansi",
    "rawSpec": "1.0.0",
    "spec": "1.0.0",
    "type": "version"
  },
  "_requiredBy": [
    "/table"
  ],
  "_resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-1.0.0.tgz",
  "_shasum": "044f1a49d8842ff307aad6b505ed178bd950134d",
  "_shrinkwrap": null,
  "_spec": "slice-ansi@1.0.0",
  "_where": "/home/travis/build/lukesargeant/ember-sparkline/node_modules/table",
  "author": {
    "name": "David Caccavella",
    "email": "threedeecee@gmail.com"
  },
  "bugs": {
    "url": "https://github.com/chalk/slice-ansi/issues"
  },
  "dependencies": {
    "is-fullwidth-code-point": "^2.0.0"
  },
  "description": "Slice a string with ANSI escape codes",
  "devDependencies": {
    "ava": "*",
    "chalk": "^2.0.1",
    "random-item": "^1.0.0",
    "strip-ansi": "^4.0.0",
    "xo": "*"
  },
  "directories": {},
  "dist": {
    "integrity": "sha512-POqxBK6Lb3q6s047D/XsDVNPnF9Dl8JSaqe9h9lURl0OdNqy/ujDrOiIHtsqXMGbWWTIomRzAMaTyawAU//Reg==",
    "shasum": "044f1a49d8842ff307aad6b505ed178bd950134d",
    "tarball": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-1.0.0.tgz"
  },
  "engines": {
    "node": ">=4"
  },
  "files": [
    "index.js"
  ],
  "gitHead": "c63bf1eb57394c7d958a0c9d6c7db2f1a4cb2e93",
  "homepage": "https://github.com/chalk/slice-ansi#readme",
  "keywords": [
    "slice",
    "string",
    "ansi",
    "styles",
    "color",
    "colour",
    "colors",
    "terminal",
    "console",
    "cli",
    "tty",
    "escape",
    "formatting",
    "rgb",
    "256",
    "shell",
    "xterm",
    "log",
    "logging",
    "command-line",
    "text"
  ],
  "license": "MIT",
  "maintainers": [
    {
      "name": "qix",
      "email": "i.am.qix@gmail.com"
    },
    {
      "name": "sindresorhus",
      "email": "sindresorhus@gmail.com"
    }
  ],
  "name": "slice-ansi",
  "optionalDependencies": {},
  "readme": "# slice-ansi [![Build Status](https://travis-ci.org/chalk/slice-ansi.svg?branch=master)](https://travis-ci.org/chalk/slice-ansi) [![XO: Linted](https://img.shields.io/badge/xo-linted-blue.svg)](https://github.com/sindresorhus/xo)\n\n> Slice a string with [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles)\n\n\n## Install\n\n```\n$ npm install slice-ansi\n```\n\n\n## Usage\n\n```js\nconst chalk = require('chalk');\nconst sliceAnsi = require('slice-ansi');\n\nconst input = 'The quick brown ' + chalk.red('fox jumped over ') +\n\t'the lazy ' + chalk.green('dog and then ran away with the unicorn.');\n\nconsole.log(sliceAnsi(input, 20, 30));\n```\n\n\n## API\n\n### sliceAnsi(input, beginSlice, [endSlice])\n\n#### input\n\nType: `string`\n\nString with ANSI escape codes. Like one styled by [`chalk`](https://github.com/chalk/chalk).\n\n#### beginSlice\n\nType: `number`\n\nZero-based index at which to begin the slice.\n\n#### endSlice\n\nType: `number`\n\nZero-based index at which to end the slice.\n\n\n## Related\n\n- [wrap-ansi](https://github.com/chalk/wrap-ansi) - Wordwrap a string with ANSI escape codes\n- [cli-truncate](https://github.com/sindresorhus/cli-truncate) - Truncate a string to a specific width in the terminal\n- [chalk](https://github.com/chalk/chalk) - Terminal string styling done right\n\n\n## Maintainers\n\n- [Sindre Sorhus](https://github.com/sindresorhus)\n- [Josh Junon](https://github.com/qix-)\n\n\n## License\n\nMIT\n",
  "readmeFilename": "readme.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/chalk/slice-ansi.git"
  },
  "scripts": {
    "test": "xo && ava"
  },
  "version": "1.0.0"
}
