limier
v3.0.1
Published
find string in list by pattern
Downloads
93
Maintainers
Readme
limier
Find string in list by pattern. This is how open in Chrome Developer Tools
and WebStorm
works.
Install
npm i limier --save
How to use?
const limier = require('limier');
limier('hello', ['hello', 'world']);
// returns
['hello'];
limier('bwiw', ['hello', 'biggestWordInAWorld']);
// returns
['biggestWordInAWorld']
limier('abc', ['hello', 'biggestWordInAWorld']);
// returns
[]
License
MIT