Skip to content

hannesmcman/keyword-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

keyword-search

Build Status Coverage Status

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 true

Tests

npm test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published