npm.devtool.tech
Measure the difference between two strings using the Levenshtein distance algorithm
Measure the difference between two strings using the Levenshtein distance algorithm
README

leven

Measure the difference between two strings using the Levenshtein distance algorithm

Install

$ npm install leven

Usage

import leven from 'leven';

leven('cat', 'cow');
//=> 2

Related


Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.

© 2025 DEVTOOL.TECH - Explore and analyze npm packages