Netherworld's Pretend Minibar

    string-dist

    1.0.1 • Public • Published

    levenshtein

    Distance between two strings. Useful for spelling corrections and suggestions.

    Example

    console.log(levenshtein('test', 'testing')) // outputs 3
    console.log(levenshtein('cat', 'kitten')) // outputs 5

    Install

    npm i string-dist

    DownloadsWeekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    6.1 kB

    Total Files

    9

    Last publish

    Collaborators

    • dancmox