tiny-levenshtein
v1.0.0
Published
A tiny implementation of the Levenshtein edit distance algorithm.
Downloads
92,030
Maintainers
Readme
Tiny Levenshtein
A tiny implementation of the Levenshtein edit distance algorithm.
Install
npm install --save tiny-levenshtein
Usage
import levenshtein from 'tiny-levenshtein';
levenshtein ( 'kitten', 'sitting' ); // => 3
License
MIT © Fabio Spampinato