Skip to content

magic-libraries/levenshtein

Repository files navigation

@magic-libraries/levenshtein

levenshtein string distance calculation for @magic

html-docs

NPM version Linux Build Status Windows Build Status Coverage Status Greenkeeper badge Known Vulnerabilities

installation

npm install --save-exact @magic-libraries/levenshtein

usage

in a page/component, just use the lib.levenshtein function.

import { levenshtein } from '@magic-libraries/levenshtein'

levenshtein('a', 'a')
// 0

levenshtein('a', 'b')
// 1

changelog

0.0.1

first release

0.0.2

update dependencies

About

@magic library to calculate string levenshtein distances.

Resources

License

Stars

Watchers

Forks

Packages

No packages published