Package Exports
- keyword-search
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (keyword-search) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
keyword-search
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.
Installation
npm install keyword-search
Usage
var keywordSearch = require('keyword-search');
keywordSearch('hello world', 'hellq woeld', 1);
//returns trueTests
npm test