@magic-libraries/levenshtein
@magic-libraries/levenshtein
@magic library that calculates levenshtein string distances.
installation
npm install --save-exact magic-libraries/levenshteinusage
this module only exports one function for end users:
import { levenshtein } from '@magic-libraries/levenshtein'levenshtein('a', 'a'// 0levenshtein('a', 'b')// 1
source
the source for this page is in the example directory and gets built and published to github using @magic/core