Natural Performance Manager
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    levenshtein-distancepublic

    nodejs-levenshtein-distance

    Installation

    $ npm install levenshtein-distance
    

    What's levenshtein-distance

    The Levenshtein distance is a string metric for measuring the difference between two sequences.
    

    Usage for JS

    var ld = require("levenshtein-distance");
     
    var leven = new ld(['hit','lead','left']);
     
    leven.find('hid',function(result){
      console.log(result);
    });
     

    LICENSE

    nodejs-levenshtein-distance is licensed under the BSD license.

    Keywords

    none

    install

    npm i levenshtein-distance

    Downloadsweekly downloads

    5

    version

    0.0.2

    license

    none

    last publish

    collaborators

    • avatar