0.0.2 • Published 3 years ago

@magic-libraries/levenshtein v0.0.2

Weekly downloads
-
License
AGPL-3.0
Repository
github
Last release
3 years ago

@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