@magic-libraries/levenshtein

0.0.2 • Public • Published

@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

Package Sidebar

Install

npm i @magic-libraries/levenshtein

Weekly Downloads

0

Version

0.0.2

License

AGPL-3.0

Unpacked Size

39.6 kB

Total Files

4

Last publish

Collaborators

  • jascha