Skip to content
This repository has been archived by the owner on Jun 17, 2019. It is now read-only.

Distance is a coffee-script for calculating distances between strings.

Notifications You must be signed in to change notification settings

vural/nodejs-levenshtein-distance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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); // => hit
});

LICENSE

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

About

Distance is a coffee-script for calculating distances between strings.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published