Skip to content
JS
Package

string-similarity

Finds degree of similarity between strings, based on Dice's Coefficient, which is mostly better than Levenshtein distance.

v4.0.4, 6 Jan 2021ISCCommonJSTypes: None
$ npm install string-similarity
Deprecated on npm
Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

Key numbers

As of 25 Sept 2026
Weekly downloads
1.7m
+18% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 years ago
v4.0.4
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3mSept 2025Mar 2026Sept 2026High 2.3m (25 Aug 2026)Low 834.9k (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.

1,715,221 downloads last week, 7,968,834 in the last month. The 12-month change of +18% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
012 in total
Latest version
4.0.4, 6 Jan 20215 years ago
First published
27 Nov 2014
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v4 first release 4.0.0, 2 Jan 2020
  2. v3 first release 3.0.0, 29 Nov 2018
  3. v2 first release 2.0.0, 2 Oct 2018
  4. v1 first release 1.0.0, 27 Nov 2014

Recent releases

VersionPublished
4.0.46 Jan 2021
4.0.39 Nov 2020
4.0.23 Aug 2020
4.0.12 Jan 2020
4.0.02 Jan 2020
3.0.029 Nov 2018
2.0.02 Oct 2018
1.2.212 Sept 2018
1.2.123 Aug 2018
1.2.022 May 2017
1.1.06 Jun 2016
1.0.027 Nov 2014
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
11 kB
Dependencies (0)
None
npm install string-similarity

CDN

jsDelivr: 1.5m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/string-similarity@4.0.4/
  • unpkghttps://unpkg.com/string-similarity@4.0.4/
  • esm.shhttps://esm.sh/string-similarity@4.0.4
Sources: npm registry, npm downloads API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): deprecated; GitHub data not fetched yet; no category.