matchete
Matchete is a super simple case-insensitive JavaScript string matcher that can be used to work out if a value fully or partially contains the words in a search string.
Installation
npm install --save matchete
API
Matchete accepts a source string, search string and an optional delimiter. The default delimiter is a single space.
Examples
// true - partial match of the word // true - full match of the word // true - partial match of multiple words // true - case-insensitive match // false - incorrect search word order // true - using _ as delimiter instead of space
Testing
make bootstrap test