and-search
v1.0.0
Published
given a list of strings, does an AND search given a list of keywords.
Downloads
3
Readme
and-search
a simple "and" search in javascript.
example
var andsearch = require('and-search')
var notes = [
'very cool note',
'things good and pending',
'my client work',
'assorted notes on trout',
'mighty casey has just struck trout'
]
andsearch(notes, ['Trout', 'casey'])
// ['mighty casey has just struck trout']