$ gnpm install leven
Measure the difference between two strings using the Levenshtein distance algorithm
$ npm install leven
import leven from 'leven'; leven('cat', 'cow'); //=> 2
Copyright 2013 - present © cnpmjs.org | Home |