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

    2

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • rangoo