find-alternatives
v1.0.1
Published
Find alternatives to specified keyword
Downloads
12
Maintainers
Readme
Find alternatives
Small library to find alternatives to specified keyword.
Example:
const findAlternatives = require('find-alternatives');
const options = [ 'create', 'delete', 'update' ];
findAlternatives('creat', options); // [ 'create' ]
findAlternatives('creajt', options); // [ 'create' ]
findAlternatives('something', options); // []