find-alternatives

1.0.1 • Public • Published

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

Dependents (1)

Package Sidebar

Install

npm i find-alternatives

Weekly Downloads

3

Version

1.0.1

License

MIT

Last publish

Collaborators

  • rangoo