Skip to content
JS
Package

drange

For adding, subtracting, and indexing discontinuous ranges of numbers

v2.0.1, 21 Jul 2020MITCommonJSTypes: Bundled
$ npm install drange

Key numbers

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

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3m4mSept 2025Mar 2026Sept 2026High 3.4m (21 Jul 2026)Low 820.1k (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.

2,025,644 downloads last week, 10,360,881 in the last month. The 12-month change of +59% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
07 in total
Latest version
2.0.1, 21 Jul 20206 years ago
First published
11 Feb 2018
Last push to GitHub
25 Feb 2024943 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

  1. v2 first release 2.0.0, 20 Sept 2018
  2. v1 first release 1.0.0, 11 Feb 2018

Recent releases

VersionPublished
2.0.121 Jul 2020
2.0.020 Sept 2018
1.1.120 Sept 2018
1.1.015 Sept 2018
1.0.26 Jun 2018
1.0.15 Mar 2018
1.0.011 Feb 2018
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=6
Runtimes
-
Unpacked size (npm)
10 kB
Dependencies (0)
None
npm install drange
  • jsDelivrhttps://cdn.jsdelivr.net/npm/drange@2.0.1/
  • unpkghttps://unpkg.com/drange@2.0.1/
  • esm.shhttps://esm.sh/drange@2.0.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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