{
  "_from": "string-length@>=1.0.0 <2.0.0",
  "_id": "string-length@1.0.1",
  "_location": "/bower/update-notifier/string-length",
  "_phantomChildren": {},
  "_requiredBy": [
    "/bower/update-notifier"
  ],
  "_resolved": "https://registry.npmjs.org/string-length/-/string-length-1.0.1.tgz",
  "_shasum": "56970fb1c38558e9e70b728bf3de269ac45adfac",
  "_shrinkwrap": null,
  "author": {
    "email": "sindresorhus@gmail.com",
    "name": "Sindre Sorhus",
    "url": "sindresorhus.com"
  },
  "bugs": {
    "url": "https://github.com/sindresorhus/string-length/issues"
  },
  "dependencies": {
    "strip-ansi": "^3.0.0"
  },
  "description": "Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes",
  "devDependencies": {
    "mocha": "*"
  },
  "engines": {
    "node": ">=0.10.0"
  },
  "files": [
    "index.js"
  ],
  "homepage": "https://github.com/sindresorhus/string-length#readme",
  "keywords": [
    "ansi",
    "astral",
    "codepoints",
    "codes",
    "escape",
    "length",
    "str",
    "string",
    "surrogates",
    "symbol",
    "unicode"
  ],
  "license": "MIT",
  "name": "string-length",
  "optionalDependencies": {},
  "readme": "# string-length [![Build Status](https://travis-ci.org/sindresorhus/string-length.svg?branch=master)](https://travis-ci.org/sindresorhus/string-length)\n\n> Get the real length of a string - by correctly counting astral symbols and ignoring [ansi escape codes](https://github.com/sindresorhus/strip-ansi)\n\n`String#length` errornously counts [astral symbols](http://www.tlg.uci.edu/~opoudjis/unicode/unicode_astral.html) as two characters.\n\n\n## Install\n\n```\n$ npm install --save string-length\n```\n\n\n## Usage\n\n```js\n'🐴'.length;\n//=> 2\n\nstringLength('🐴');\n//=> 1\n\nstringLength('\\u001b[1municorn\\u001b[22m');\n//=> 7\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
  "readmeFilename": "readme.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sindresorhus/string-length.git"
  },
  "scripts": {
    "test": "mocha"
  },
  "version": "1.0.1"
}
