Package
js-levenshtein
The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.
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
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
- v1 first release 1.0.0, 14 May 2017
Recent releases
| Version | Published |
|---|---|
| 1.1.6 | 10 Jan 2019 |
| 1.1.5 | 8 Jan 2019 |
| 1.1.4 | 27 Sept 2018 |
| 1.1.3 | 1 Oct 2017 |
| 1.1.2 | 19 Jun 2017 |
| 1.1.1 | 3 Jun 2017 |
| 1.1.0 | 1 Jun 2017 |
| 1.0.0 | 14 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- jsDelivr
https://cdn.jsdelivr.net/npm/js-levenshtein@1.1.6/ - unpkg
https://unpkg.com/js-levenshtein@1.1.6/ - esm.sh
https://esm.sh/js-levenshtein@1.1.6
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| levenary | 1.1m | - | 6 years ago | ESM + CommonJS | - |
| leven | 49m | - | 1 year ago | ESM only | leven vs js-levenshtein |
Indexability: Indexed.