Skip to content
JS
Package

longest-streak

Count the longest repeating streak of a substring

v3.1.0, 15 Nov 2022MITESM onlyTypes: Bundled
$ npm install longest-streak

Key numbers

As of 25 Sept 2026
Weekly downloads
36.1m
+271% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 years ago
v3.1.0
GitHub stars
9
1 forks
Open issues / PRs
0 / 1
Contributors
2
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60mSept 2025Mar 2026Sept 2026High 49.5m (25 Aug 2026)Low 7.8m (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.

36,147,239 downloads last week, 178,983,995 in the last month. The 12-month change of +271% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
09 in total
Latest version
3.1.0, 15 Nov 20223 years ago
First published
12 Jul 2015
Last push to GitHub
15 Nov 20221,409 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
46

Major versions

  1. v3 first release 3.0.0, 8 Mar 2021
  2. v2 first release 2.0.0, 11 Nov 2016
  3. v1 first release 1.0.0, 12 Jul 2015

Recent releases

VersionPublished
3.1.015 Nov 2022
3.0.127 Oct 2021
3.0.08 Mar 2021
2.0.425 Jan 2020
2.0.313 May 2019
2.0.28 Nov 2017
2.0.126 Nov 2016
2.0.011 Nov 2016
1.0.012 Jul 2015
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
7.5 kB
Dependencies (0)
None
npm install longest-streak

CDN

jsDelivr: 166.7k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/longest-streak@3.1.0/
  • unpkghttps://unpkg.com/longest-streak@3.1.0/
  • esm.shhttps://esm.sh/longest-streak@3.1.0
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.