1.0.5 • Published 4 years ago

kc-search-res v1.0.5

Weekly downloads
6
License
ISC
Repository
github
Last release
4 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

4 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago