Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

levenstein-lib

CharlieS110318MIT1.0.2TypeScript support: included

A library to handle all things relating to levenstein distance

levenstein, similirarity

readme

levenstein lib

Functions

calc_levenstein:

Calculates and returns the levenstein distance as a whole number. This is pretty much the amount of single character edits it would require to convert one word into another

levenstein_percentage:

Calculates and returns a percentage of similarity between two strings.