New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

didyoumean2

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

didyoumean2 - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

src/enums/returnTypeEnums.json

59

package.json
{
"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
[![Build Status](https://img.shields.io/travis/foray1010/didyoumean2.svg)](https://travis-ci.org/foray1010/didyoumean2)
[![Build Status](https://img.shields.io/circleci/project/foray1010/didyoumean2/master.svg)](https://circleci.com/gh/foray1010/didyoumean2/tree/master)
[![codecov.io](https://img.shields.io/codecov/c/github/foray1010/didyoumean2.svg)](https://codecov.io/github/foray1010/didyoumean2?branch=master)

@@ -68,2 +69,3 @@ [![Dependency Status](https://img.shields.io/gemnasium/foray1010/didyoumean2.svg)](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
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc