UNPKG

keyword-search

Version:

Determine whether a given query string contains keywords in a given item string, with a specified margin for spelling error based on the hamming distance.

35 lines (34 loc) 1.02 kB
{ "name": "keyword-search", "version": "0.1.2", "description": "Determine whether a given query string contains keywords in a given item string, with a specified margin for spelling error based on the hamming distance.", "main": "index.js", "scripts": { "test": "mocha --reporter spec", "cover": "node_modules/istanbul/lib/cli.js cover node_modules/mocha/bin/_mocha -- -R spec test/*" }, "repository": { "type": "git", "url": "git+https://github.com/hannesmcman/keyword-search.git" }, "keywords": [ "search", "keyword", "hamming" ], "author": "Johannes Carlsen <hannes.mcman@gmail.com> (https://hannesmcman.github.io)", "license": "MIT", "bugs": { "url": "https://github.com/hannesmcman/keyword-search/issues" }, "homepage": "https://github.com/hannesmcman/keyword-search#readme", "dependencies": { "hamming": "0.0.2" }, "devDependencies": { "chai": "^4.1.2", "coveralls": "^3.0.1", "istanbul": "^0.4.5", "mocha": "^5.1.1" } }