1.0.4 • Published 8 months ago

blue-keyword v1.0.4

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
8 months ago

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'
1.0.4

8 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

10 months ago

1.0.0

10 months ago