Use leven module for levenshtein distance

https://github.com/sindresorhus/leven

No point in bundling code like this.

Leven is also the fastest one: https://github.com/sindresorhus/leven#benchmark
This commit is contained in:
Sindre Sorhus
2015-02-16 22:36:20 +07:00
parent 39c5849604
commit afd07c9172
3 changed files with 2 additions and 39 deletions

View File

@@ -51,6 +51,7 @@
"fs-readdir-recursive": "0.1.0",
"globals": "^5.1.0",
"js-tokenizer": "1.3.3",
"leven": "^1.0.1",
"lodash": "3.0.0",
"output-file-sync": "1.1.0",
"private": "0.1.6",