</>PackageGraphPackageGraph

leven

npmv4.1.0TypeScript

Measure the difference between two strings using the Levenshtein distance algorithm

0
Weekly downloads
2
Dependents
11
Dependencies
4/100
Popularity

Overview

leven is an npm package that measure the difference between two strings using the Levenshtein distance algorithm. The latest version is 4.1.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need measure the difference between two strings using the Levenshtein distance algorithm and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of leven.

jest-validatefastest-levenshte…leven
leven dependencies dependents

Dependencies

Dev (11)

ava ^3.15.0fast-levenshtein ^3.0.0ld ^0.1.0levdist ^2.2.10levenshtein ^1.0.5levenshtein-component ^0.0.1levenshtein-edit-distance ^3.0.0natural ^5.0.4talisman ^1.1.4tinybench ^4.0.1xo ^0.44.0

Used by

Popular packages that depend on leven.

Alternatives to leven

fastest-levenshteinnpm

Fastest Levenshtein distance implementation in JS.

0/wk1 dependentsMITTS
fast-levenshteinnpm

Efficient implementation of Levenshtein algorithm with locale-specific collator support.

0/wk3 dependentsMIT
diffnpm

A JavaScript text diff implementation.

0/wk3 dependentsBSD-3-ClauseTS
natural-comparenpm

Compare strings containing a mix of letters and numbers in the way a human being would in sort order.

130.3M/wk3 dependentsMIT
@jest/diff-sequencesnpm

Compare items in two sequences to find a longest common subsequence

25.9M/wk1 dependentsMITTS
strip-bomnpm

Strip UTF-8 byte order mark (BOM) from a string

0/wk1 dependentsMIT
@blazediff/corenpm

Blazing-fast pixel-by-pixel image comparison with block-based optimization. 1.5x times faster than pixelmatch

0/wk1 dependentsMITTS
is-globnpm

Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet

0/wk2 dependentsMIT
camelcasenpm

Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`

0/wk1 dependentsMITTS
is-extglobnpm

Returns true if a string has an extglob.

0/wk1 dependentsMIT
anymatchnpm

Matches strings against configurable strings, globs, regular expressions, and/or functions

0/wk1 dependentsISCTS
get-east-asian-widthnpm

Determine the East Asian Width of a Unicode character

0/wk1 dependentsMITTS

Frequently installed together

Version history

VersionPublishedLicense
4.1.0latest10 months agoMIT
4.0.05 years agoMIT
3.1.07 years agoMIT
3.0.07 years agoMIT
2.1.09 years agoMIT
2.0.011 years agoMIT
1.0.211 years agoMIT
1.0.111 years agoMIT
1.0.012 years agoMIT

Maintainers

Keywords

Funding

Frequently asked questions

How do I install leven?

Run `npm install leven` to add leven to your npm project.

What license is leven released under?

leven is distributed under the MIT license.

How popular is leven?

leven has approximately 0 downloads per week and 2 known dependent packages.