1.0.1 • Published 8 years ago

find-alternatives v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

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); // []