Measure the difference between two strings
Is a javascript implementation of the Levenshtein distance algorithm
$ npm install @caijs/leven
const leven = require('@caijs/leven');
leven('cat', 'cow');
//=> 2
$ npm run bench
279,295 op/s » @caijs/leven
248,323 op/s » leven
240,445 op/s » talisman
1,281 op/s » levenshtein-edit-distance
776 op/s » fast-levenshtein
754 op/s » levenshtein-component
244 op/s » levenshtein
202 op/s » levdist
197 op/s » ld
11 op/s » natural