didyoumean2
Advanced tools
Comparing version
{ | ||
"name": "didyoumean2", | ||
"version": "1.0.2", | ||
"description": "a library for matching human-quality input to a list of potential matches using the Levenshtein distance algorithm", | ||
"main": "index.js", | ||
"version": "1.1.0", | ||
"engines": { | ||
"node": ">= 4.2" | ||
"node": ">=4.2" | ||
}, | ||
"scripts": { | ||
"coverage": "nyc --all --reporter=lcov npm test", | ||
"lint": "gulp lint", | ||
"test": "ava --verbose" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/foray1010/didyoumean2.git" | ||
}, | ||
"description": "a library for matching human-quality input to a list of potential matches using the Levenshtein distance algorithm", | ||
"keywords": [ | ||
@@ -41,30 +31,31 @@ "closest", | ||
], | ||
"license": "MIT", | ||
"author": "foray1010", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/foray1010/didyoumean2/issues" | ||
"homepage": "https://github.com/foray1010/didyoumean2", | ||
"repository": "foray1010/didyoumean2", | ||
"bugs": "https://github.com/foray1010/didyoumean2/issues", | ||
"main": "src/index.js", | ||
"scripts": { | ||
"coverage": "nyc npm test", | ||
"lint": "eslint .", | ||
"np": "np", | ||
"test": "cross-env NODE_ENV=test ava --verbose" | ||
}, | ||
"homepage": "https://github.com/foray1010/didyoumean2#readme", | ||
"pre-commit": [ | ||
"lint" | ||
], | ||
"dependencies": { | ||
"leven": "^2.0.0", | ||
"lodash.get": "^4.0.0" | ||
"lodash": "^4.17.2" | ||
}, | ||
"devDependencies": { | ||
"ava": "^0.14.0", | ||
"eslint": "^2.3.0", | ||
"eslint-config-foray1010": "^1.3.0", | ||
"gulp": "^3.9.0", | ||
"gulp-eslint": "^2.0.0", | ||
"lodash.set": "^4.0.0", | ||
"seamless-immutable": "^5.0.1" | ||
}, | ||
"config": { | ||
"nyc": { | ||
"exclude": [ | ||
"coverage", | ||
"gulpfile.js", | ||
"test" | ||
] | ||
} | ||
"ava": "^0.17.0", | ||
"cross-env": "^3.1.3", | ||
"eslint-config-foray1010": "^3.0.0", | ||
"np": "^2.11.0", | ||
"nyc": "^10.0.0", | ||
"pkg-dir": "^1.0.0", | ||
"pre-commit": "^1.2.1", | ||
"seamless-immutable": "^7.0.0" | ||
} | ||
} |
# didyoumean2 | ||
[](https://travis-ci.org/foray1010/didyoumean2) | ||
[](https://circleci.com/gh/foray1010/didyoumean2/tree/master) | ||
[](https://codecov.io/github/foray1010/didyoumean2?branch=master) | ||
@@ -68,2 +69,3 @@ [](https://gemnasium.com/foray1010/didyoumean2) | ||
| `'all-matches'` | Return all matches in array | | ||
| `'all-sorted-matches'` | Return all matches in array, sorted from closest to furthest | | ||
| `'first-closest-match'` | Return first match from `'all-closest-matches'` | | ||
@@ -94,3 +96,2 @@ | `'first-match'` | Return first match (__FASTEST__) | | ||
```sh | ||
npm install -g ava | ||
npm install | ||
@@ -102,3 +103,2 @@ npm test | ||
```sh | ||
npm install -g ava nyc | ||
npm install | ||
@@ -110,5 +110,4 @@ npm run coverage | ||
```sh | ||
npm install -g gulp | ||
npm install | ||
npm run lint | ||
``` |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
16959
4.9%332
9.93%8
14.29%1
Infinity%110
-0.9%1
Infinity%1
Infinity%+ Added
+ Added
- Removed
- Removed