Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

and-search

1.0.0 • Public • Published

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

Install

npm i and-search

DownloadsWeekly Downloads

2

Version

1.0.0

License

ISC

Last publish

Collaborators

  • avatar