js-levenshtein-esm
Version:
The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.
60 lines (59 loc) • 1.41 kB
JSON
{
"name": "js-levenshtein-esm",
"version": "2.0.0",
"description": "The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.",
"license": "MIT",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/43081j/js-levenshtein.git"
},
"author": "James Garbutt (https://github.com/43081j)",
"scripts": {
"build": "tsc",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "eslint src",
"test": "c8 --reporter=lcov node --test",
"test:perf": "node perf/index.js",
"prepare": "npm run build",
"prepublishOnly": "npm run lint && npm run test"
},
"main": "lib/index.js",
"module": "lib/index.js",
"files": [
"lib/"
],
"keywords": [
"levenshtein",
"distance",
"algorithm",
"algo",
"string",
"difference",
"diff",
"fast",
"fuzzy",
"similar",
"similarity",
"compare",
"comparison",
"edit",
"text",
"match",
"matching"
],
"devDependencies": {
"@eslint/js": "^9.22.0",
"c8": "^10.1.3",
"eslint": "^9.22.0",
"fast-levenshtein": "^2.0.6",
"js-levenshtein": "^1.1.6",
"leven": "^2.1.0",
"levenshtein-edit-distance": "^2.0.3",
"prettier": "^3.5.3",
"talisman": "^0.21.0",
"tinybench": "^4.0.1",
"typescript": "^5.8.2",
"typescript-eslint": "^8.26.1"
}
}