Skip to content
JS
Package

js-levenshtein

The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.

v1.1.6, 10 Jan 2019MIT-Types: NoneStrings and text
$ npm install js-levenshtein

Key numbers

As of 25 Sept 2026
Weekly downloads
8.6m
+102% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
7 years ago
v1.1.6
GitHub stars
512
47 forks
Open issues / PRs
4 / 3
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15mSept 2025Mar 2026Sept 2026High 11.3m (25 Aug 2026)Low 2.2m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

8,602,467 downloads last week, 39,113,291 in the last month. The 12-month change of +102% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
08 in total
Latest version
1.1.6, 10 Jan 20197 years ago
First published
14 May 2017
Last push to GitHub
10 May 20221,598 days before the snapshot
Repository archived
No
Open issues
4
Open pull requests
3
Commits, last 52 weeks
0
Dependents on npm
228

Major versions

  1. v1 first release 1.0.0, 14 May 2017

Recent releases

VersionPublished
1.1.610 Jan 2019
1.1.58 Jan 2019
1.1.427 Sept 2018
1.1.31 Oct 2017
1.1.219 Jun 2017
1.1.13 Jun 2017
1.1.01 Jun 2017
1.0.014 May 2017
Module format
-Not determined from package.json
TypeScript types
None
Node.js engine range
>=0.10.0
Runtimes
-
Unpacked size (npm)
5.5 kB
Dependencies (0)
None
npm install js-levenshtein
  • jsDelivrhttps://cdn.jsdelivr.net/npm/js-levenshtein@1.1.6/
  • unpkghttps://unpkg.com/js-levenshtein@1.1.6/
  • esm.shhttps://esm.sh/js-levenshtein@1.1.6
PackageWeekly downloadsGzipLast releaseModuleComparison
levenary1.1m-6 years agoESM + CommonJS-
leven49m-1 year agoESM onlyleven vs js-levenshtein

Related

Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.