GT2/GT2-iOS/node_modules/string-length/package.json

112 lines
3.6 KiB
JSON

{
"_args": [
[
{
"raw": "string-length@^2.0.0",
"scope": null,
"escapedName": "string-length",
"name": "string-length",
"rawSpec": "^2.0.0",
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/jest/node_modules/jest-cli"
]
],
"_from": "string-length@>=2.0.0 <3.0.0",
"_id": "string-length@2.0.0",
"_inCache": true,
"_location": "/string-length",
"_nodeVersion": "4.8.3",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/string-length-2.0.0.tgz_1501117430278_0.7992605706676841"
},
"_npmUser": {
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
},
"_npmVersion": "2.15.11",
"_phantomChildren": {},
"_requested": {
"raw": "string-length@^2.0.0",
"scope": null,
"escapedName": "string-length",
"name": "string-length",
"rawSpec": "^2.0.0",
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"_requiredBy": [
"/jest/jest-cli"
],
"_resolved": "https://registry.npmjs.org/string-length/-/string-length-2.0.0.tgz",
"_shasum": "d40dbb686a3ace960c1cffca562bf2c45f8363ed",
"_shrinkwrap": null,
"_spec": "string-length@^2.0.0",
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/jest/node_modules/jest-cli",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/string-length/issues"
},
"dependencies": {
"astral-regex": "^1.0.0",
"strip-ansi": "^4.0.0"
},
"description": "Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes",
"devDependencies": {
"ava": "*",
"xo": "*"
},
"directories": {},
"dist": {
"shasum": "d40dbb686a3ace960c1cffca562bf2c45f8363ed",
"tarball": "https://registry.npmjs.org/string-length/-/string-length-2.0.0.tgz"
},
"engines": {
"node": ">=4"
},
"files": [
"index.js"
],
"gitHead": "dcdf2d91dcb155923ece3b8f77f2279e49bb1d3f",
"homepage": "https://github.com/sindresorhus/string-length#readme",
"keywords": [
"unicode",
"string",
"length",
"size",
"count",
"astral",
"symbol",
"surrogates",
"codepoints",
"ansi",
"escape",
"codes"
],
"license": "MIT",
"maintainers": [
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"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](https://web.archive.org/web/20150721114550/http://www.tlg.uci.edu/~opoudjis/unicode/unicode_astral.html) as two characters.\n\n\n## Install\n\n```\n$ npm install string-length\n```\n\n\n## Usage\n\n```js\nconst stringLength = require('string-length');\n\n'🐴'.length;\n//=> 2\n\nstringLength('🐴');\n//=> 1\n\nstringLength('\\u001B[1municorn\\u001B[22m');\n//=> 7\n```\n\n\n## Related\n\n- [string-width](https://github.com/sindresorhus/string-width) - Get visual width of a string\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/string-length.git"
},
"scripts": {
"test": "xo && ava"
},
"version": "2.0.0"
}