Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

keyword

Keyword matching algorithm

Thanks to

Usage

import matchKeyword from 'blue-keyword';

const products = ['Tagful Tee', 'Rectangle Logo', 'Crewneck'];
const product = products.find(product => matchKeyword(product, '+Tagful, -Tagless'));

console.log(product); // => 'Tagful Tee'

Packages

Used by

Contributors

Languages