leven
npmv4.1.0TypeScriptMeasure the difference between two strings using the Levenshtein distance algorithm
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.
Dependencies
Dev (11)
Used by
Popular packages that depend on leven.
Alternatives to leven
Fastest Levenshtein distance implementation in JS.
Efficient implementation of Levenshtein algorithm with locale-specific collator support.
A JavaScript text diff implementation.
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
Compare items in two sequences to find a longest common subsequence
Strip UTF-8 byte order mark (BOM) from a string
Blazing-fast pixel-by-pixel image comparison with block-based optimization. 1.5x times faster than pixelmatch
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
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
Returns true if a string has an extglob.
Matches strings against configurable strings, globs, regular expressions, and/or functions
Determine the East Asian Width of a Unicode character
Frequently installed together
An AST-based pattern checker for JavaScript.
Prettier is an opinionated code formatter
Delightful JavaScript Testing.
No description provided.
Efficient implementation of Levenshtein algorithm with locale-specific collator support.
TypeScript definitions for yargs
Stringify any JavaScript value.
A utility function to get the type of a value
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
Version history
| Version | Published | License |
|---|---|---|
| 4.1.0latest | 10 months ago | MIT |
| 4.0.0 | 5 years ago | MIT |
| 3.1.0 | 7 years ago | MIT |
| 3.0.0 | 7 years ago | MIT |
| 2.1.0 | 9 years ago | MIT |
| 2.0.0 | 11 years ago | MIT |
| 1.0.2 | 11 years ago | MIT |
| 1.0.1 | 11 years ago | MIT |
| 1.0.0 | 12 years ago | MIT |
Maintainers
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.