</>PackageGraphPackageGraph

fast-levenshtein

npmv3.0.0

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

Not recommended for new projects

No — fast-levenshtein should not be adopted for new projects. Last published 2240 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • FMaintenance: grade F, Failing.

    Last published 2240 days ago.

  • AWeight: grade A, Excellent.

    Pulls in 1 transitive package, about 28 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding fast-levenshtein to a project.

1
Direct dependencies

Runtime packages this one declares itself.

1
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

28 KB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

MIT

Every license you inherit by installing fast-levenshtein, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
No constraint declared
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the fast-levenshtein README.

javascriptFull README ↗
var levenshtein = require('fast-levenshtein');

var distance = levenshtein.get('back', 'book');   // 2
var distance = levenshtein.get('我愛你', '我叫你');   // 1

fast-levenshtein vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
fast-levenshteinthis page03MIT6 years ago
leven02MIT1 day ago
fastest-levenshtein01MIT1 day ago
escape-string-regexp316.5M8MIT1 day ago
is-glob137.4M3MIT1 day ago
camelcase95.7M2MIT1 day ago

Dependencies

Declared by fast-levenshtein v3.0.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (11)

chai ~1.5.0grunt ~0.4.1grunt-benchmark ~0.2.0grunt-cli ^1.2.0grunt-contrib-jshint ~0.4.3grunt-contrib-uglify ~0.2.0grunt-mocha-test ~0.2.2grunt-npm-install ~0.1.0load-grunt-tasks ~0.6.0lodash ^4.0.1mocha ~1.9.0

Used by

Popular packages that depend on fast-levenshtein.

Relationship graph

Dependencies (left) and dependents (right) of fast-levenshtein.

fastest-levenshte…optionatorlevenfast-levenshtein
fast-levenshtein dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 28 days apart.

Recent versions of fast-levenshtein
VersionPublishedSizeLicense
3.0.0latest6 years ago7.4 KBMIT
2.0.69 years agoMIT
2.0.510 years agoMIT
2.0.410 years agoMIT
2.0.310 years agoMIT
2.0.210 years agoMIT
2.0.110 years agoMIT
2.0.010 years agoMIT
1.1.410 years agoMIT
1.1.310 years agoMIT
1.1.210 years agoMIT
1.1.010 years agoMIT
1.0.711 years agoMIT
1.0.611 years agoMIT
1.0.511 years agoMIT

Overview

fast-levenshtein is an npm package that efficient implementation of Levenshtein algorithm with locale-specific collator support. It has 3 known dependents in the graph. The latest version is 3.0.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need efficient implementation of Levenshtein algorithm with locale-specific collator support and value a focused solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Clear open-source license (MIT).

Cons

  • No bundled TypeScript types (may require a separate @types package).

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

Maintainers

Keywords

Frequently asked questions

Should I use fast-levenshtein?

No — fast-levenshtein should not be adopted for new projects. Last published 2240 days ago.

How do I install fast-levenshtein?

Run `npm install fast-levenshtein` to add fast-levenshtein to your npm project.

How many dependencies does fast-levenshtein have?

fast-levenshtein declares 12 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 28 KB on disk.

What license is fast-levenshtein released under?

fast-levenshtein is distributed under the MIT license.

How popular is fast-levenshtein?

npm does not publish download counts. Within PackageGraph's crawl, 3 known packages depend on fast-levenshtein.

Is fast-levenshtein still maintained?

The most recent release of fast-levenshtein (v3.0.0) was published 6 years ago.

Does fast-levenshtein run install scripts?

No. fast-levenshtein does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.