1.0.5 • Published 3 years ago

kc-search-res v1.0.5

Weekly downloads
6
License
ISC
Repository
github
Last release
3 years ago

SearchRes

js Search results array.

Install

npm install kc-search-res

Use

var searchRes = require('./search-res');
var arr = [
    { a: 'hi', b: 'world'},
    { a: 'hello', b: 'world'},
    { a: 'goodbye', b: 'world'},
    { a: 'byebye', b: 'world'}
];
var res = searchRes(arr, 'bye');
console.log(res);
1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago