keyword-search

0.1.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i keyword-search

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

4.81 kB

Total Files

6

Last publish

Collaborators

  • hannesmcman