Big update!Introducing GitHub Bot Commands. Learn more
Socket
BlogLoveLog in
Book a demo

leven

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Issues
File Explorer

Advanced tools

leven

Measure the difference between two strings using the Levenshtein distance algorithm

    4.0.0latest

Version published
Maintainers
1
Weekly downloads
20,225,573
increased by3.75%

Weekly downloads

Changelog

Source

Breaking

  • Require Node.js 12.20 d3e23a5
  • This package is now pure ESM. Please read this.

https://github.com/sindresorhus/leven/compare/v3.1.0...v4.0.0

Readme

Source

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
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.

Keywords

FAQs

What is leven?

Measure the difference between two strings using the Levenshtein distance algorithm

Is leven popular?

The npm package leven receives a total of 19,469,788 weekly downloads. As such, leven popularity was classified as popular.

Is leven well maintained?

We found that leven demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 10 Aug 2021
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc