Skip to content

A tiny implementation of the Levenshtein edit distance algorithm.

License

Notifications You must be signed in to change notification settings

fabiospampinato/tiny-levenshtein

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiny Levenshtein

A tiny implementation of the Levenshtein edit distance algorithm.

Install

npm install tiny-levenshtein

Usage

import levenshtein from 'tiny-levenshtein';

// Let's compute the Levenshtein edit distance between two strings

levenshtein ( 'kitten', 'sitting' ); // => 3

License

MIT © Fabio Spampinato

About

A tiny implementation of the Levenshtein edit distance algorithm.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published