levenshtein-distance
Distance is a Coffeescript for calculating distances between strings.
Last updated 7 years ago by vural .
BSD · Repository · Original npm · Tarball · package.json
$ cnpm install levenshtein-distance 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.0.2                                ...           latest (7 years ago)

2 Versions

  • 0.0.2                                ...           7 years ago
  • 0.0.1                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 2
Dependencies (1)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |