125 lines
3.9 KiB
JSON
125 lines
3.9 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "leven@^2.1.0",
|
|
"scope": null,
|
|
"escapedName": "leven",
|
|
"name": "leven",
|
|
"rawSpec": "^2.1.0",
|
|
"spec": ">=2.1.0 <3.0.0",
|
|
"type": "range"
|
|
},
|
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/jest-validate"
|
|
]
|
|
],
|
|
"_from": "leven@>=2.1.0 <3.0.0",
|
|
"_id": "leven@2.1.0",
|
|
"_inCache": true,
|
|
"_location": "/leven",
|
|
"_nodeVersion": "7.5.0",
|
|
"_npmOperationalInternal": {
|
|
"host": "packages-18-east.internal.npmjs.com",
|
|
"tmp": "tmp/leven-2.1.0.tgz_1487405796149_0.5572073105722666"
|
|
},
|
|
"_npmUser": {
|
|
"name": "sindresorhus",
|
|
"email": "sindresorhus@gmail.com"
|
|
},
|
|
"_npmVersion": "4.1.2",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "leven@^2.1.0",
|
|
"scope": null,
|
|
"escapedName": "leven",
|
|
"name": "leven",
|
|
"rawSpec": "^2.1.0",
|
|
"spec": ">=2.1.0 <3.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/jest-validate"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/leven/-/leven-2.1.0.tgz",
|
|
"_shasum": "c2e7a9f772094dee9d34202ae8acce4687875580",
|
|
"_shrinkwrap": null,
|
|
"_spec": "leven@^2.1.0",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/jest-validate",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "sindresorhus.com"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/sindresorhus/leven/issues"
|
|
},
|
|
"dependencies": {},
|
|
"description": "Measure the difference between two strings using the fastest JS implementation of the Levenshtein distance algorithm",
|
|
"devDependencies": {
|
|
"ava": "^0.17.0",
|
|
"fast-levenshtein": "^2.0.5",
|
|
"ld": "^0.1.0",
|
|
"levdist": "^2.0.0",
|
|
"levenshtein": "^1.0.4",
|
|
"levenshtein-component": "0.0.1",
|
|
"levenshtein-edit-distance": "^2.0.0",
|
|
"matcha": "^0.7.0",
|
|
"natural": "^0.4.0",
|
|
"talisman": "^0.18.0",
|
|
"xo": "^0.16.0"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "c2e7a9f772094dee9d34202ae8acce4687875580",
|
|
"tarball": "https://registry.npmjs.org/leven/-/leven-2.1.0.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"gitHead": "0630566a69b5a73aae2e52bb47ea863892a4b5f0",
|
|
"homepage": "https://github.com/sindresorhus/leven#readme",
|
|
"keywords": [
|
|
"leven",
|
|
"levenshtein",
|
|
"distance",
|
|
"algorithm",
|
|
"algo",
|
|
"string",
|
|
"difference",
|
|
"diff",
|
|
"fast",
|
|
"fuzzy",
|
|
"similar",
|
|
"similarity",
|
|
"compare",
|
|
"comparison",
|
|
"edit",
|
|
"text",
|
|
"match",
|
|
"matching"
|
|
],
|
|
"license": "MIT",
|
|
"maintainers": [
|
|
{
|
|
"name": "sindresorhus",
|
|
"email": "sindresorhus@gmail.com"
|
|
}
|
|
],
|
|
"name": "leven",
|
|
"optionalDependencies": {},
|
|
"readme": "# leven [![Build Status](https://travis-ci.org/sindresorhus/leven.svg?branch=master)](https://travis-ci.org/sindresorhus/leven)\n\n> Measure the difference between two strings<br>\n> The fastest JS implementation of the [Levenshtein distance](http://en.wikipedia.org/wiki/Levenshtein_distance) algorithm\n\n\n## Install\n\n```\n$ npm install --save leven\n```\n\n\n## Usage\n\n```js\nconst leven = require('leven');\n\nleven('cat', 'cow');\n//=> 2\n```\n\n\n## Benchmark\n\n```\n$ npm run bench\n```\n\n```\n 401,487 op/s » leven\n 371,707 op/s » talisman\n 264,191 op/s » levenshtein-edit-distance\n 152,923 op/s » fast-levenshtein\n 57,267 op/s » levenshtein-component\n 19,915 op/s » levdist\n 21,802 op/s » ld\n 18,079 op/s » natural\n 11,761 op/s » levenshtein\n```\n\n\n## Related\n\n- [leven-cli](https://github.com/sindresorhus/leven-cli) - CLI for this module\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
|
|
"readmeFilename": "readme.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/sindresorhus/leven.git"
|
|
},
|
|
"scripts": {
|
|
"bench": "matcha bench.js",
|
|
"test": "xo && ava"
|
|
},
|
|
"version": "2.1.0"
|
|
}
|