Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

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

Install

npm i find-alternatives

DownloadsWeekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • avatar