https://github.com/elsehow/and-search
a simple "and" search in javascript
https://github.com/elsehow/and-search
Last synced: about 1 year ago
JSON representation
a simple "and" search in javascript
- Host: GitHub
- URL: https://github.com/elsehow/and-search
- Owner: elsehow
- Created: 2015-08-12T04:12:09.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2020-01-06T16:59:42.000Z (over 6 years ago)
- Last Synced: 2025-03-22T09:36:57.819Z (about 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# and-search
a simple "and" search in javascript.
## example
```javascript
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']
```