0.1.2 • Published 3 years ago

keyword-search v0.1.2

Weekly downloads
39
License
MIT
Repository
github
Last release
3 years ago

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

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago