UNPKG

string-metric

Version:

Get string similarity in JavaScript or TypeScript

53 lines (52 loc) 1.29 kB
{ "name": "string-metric", "version": "0.3.3", "description": "Get string similarity in JavaScript or TypeScript", "main": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": { "build": "tsc", "prepare": "npm run clear && npm run test && npm run check-cov && npm run build", "clear": "rimraf dist coverage", "check-cov": "istanbul check-coverage --statements 90", "test": "jest --coverage", "test:w": "jest --coverage --watchAll", "coveralls": "node ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info" }, "keywords": [ "string similarity", "similarity", "string", "strings", "metric", "jaro-winkler", "Levenshtein", "Normalized", "NormalizedLevenshtein", "Normalized Levenshtein", "Weighted", "WeightedLevenshtein", "Weighted Levenshtein", "Damerau", "Optimal", "Optimal String Alignment", "Longest Common Subsequence", "Metric Longest Common Subsequence", "N-Gram" ], "repository": { "type": "git", "url": "https://github.com/hellojayjay/string-metric" }, "author": "hellojayjay", "license": "MIT", "devDependencies": { "@types/jest": "^24.0.23", "coveralls": "^3.1.0", "istanbul": "^0.4.5", "jest": "^24.9.0", "rimraf": "^3.0.0", "ts-jest": "^24.2.0", "typescript": "^3.7.2" } }