npm · npm:drange
drange active
For adding, subtracting, and indexing discontinuous ranges of numbers
The latest stable version of drange is 2.0.2, published on 2026-11-07. Verified by Vigia on 2026-11-12.
| Latest stable version | 2.0.2 |
|---|---|
| Published | 2026-11-07 19:14:10 UTC |
| Install | npm install drange@latest |
| Requires (engines) | {"node":">=20"} |
| Peer dependencies | — |
| Dist-tags | latest: 2.0.2 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 20:10:39 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "drange", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/drange . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-11-07 19:14:10 UTC · 5 days ago |
| Stable releases in the last 12 months | 1 |
| Published versions | 8 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.0.2 | 2026-11-07 19:14:10 UTC |
2.0.1 | 2020-07-21 19:26:49 UTC |
2.0.0 | 2018-09-20 14:12:53 UTC |
1.1.1 | 2018-09-20 14:06:25 UTC |
1.1.0 | 2018-09-15 19:24:03 UTC |
1.0.2 | 2018-06-06 05:10:11 UTC |
1.0.1 | 2018-03-05 14:14:19 UTC |
1.0.0 | 2018-02-11 14:47:12 UTC |
Showing the 8 most recent of 8 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 2.0.1 |
node 18 | 2.0.1 |
node 20 | 2.0.2 |
node 22 | 2.0.2 |
node 24 | 2.0.2 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of drange?
The latest stable version of drange is 2.0.2, published on 2026-11-07. Verified by Vigia on 2026-11-12.
How do I install the latest version of drange?
Run npm install drange@latest. The latest stable version is 2.0.2 (verified 2026-11-12).
Is drange deprecated?
No. drange is not marked as deprecated in the registry.
Which Node.js version does drange require?
drange 2.0.2 declares this requirement: {"node":">=20"}.
Does drange 2.0.2 have known vulnerabilities?
No known advisories affect drange 2.0.2 according to the data Vigia checks.
Is drange still maintained?
drange published 1 stable releases in the last 12 months; the most recent was 5 days ago. Activity: active.
Observed changes
- Sat Nov 07 2026 20:08:42 GM +0000 (Coordinated Universal Time) — runtime_requirement_changed
- Sat Nov 07 2026 20:08:42 GM +0000 (Coordinated Universal Time) — released 2.0.1 → 2.0.2
Related packages
- path-data-parser
- @react-email/row
- wkx
- nunjucks
- expo-manifests
- splaytree
- @react-email/body
- underscore.string
- deep-diff
- timsort
- @fortawesome/fontawesome-svg-core
- indexof
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/drange) [](https://vigia.coredls.cloud/npm/drange) [](https://vigia.coredls.cloud/npm/drange)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/drange
GET https://vigia.coredls.cloud/v1/packages/npm/drange/versions/{version}