npm · npm:duration
duration active
Time duration utilities
The latest stable version of duration is 0.2.2, published on 2018-10-31. Verified by Vigia on 2026-11-12.
| Latest stable version | 0.2.2 |
|---|---|
| Published | 2018-10-31 16:33:50 UTC |
| Install | npm install duration@latest |
| Requires (engines) | none declared |
| Peer dependencies | — |
| Dist-tags | latest: 0.2.2 |
| License | ISC |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:27:42 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 "duration", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/duration . 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 | dormant |
|---|---|
| Last stable release | 2018-10-31 16:33:50 UTC · 2934 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 8 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
0.2.2 | 2018-10-31 16:33:50 UTC |
0.2.1 | 2018-08-31 11:35:25 UTC |
0.2.0 | 2014-04-27 15:26:48 UTC |
0.1.4 | 2013-01-03 09:46:36 UTC |
0.1.3 | 2013-01-02 22:04:24 UTC |
0.1.2 | 2012-11-10 19:39:45 UTC |
0.1.1 | 2012-10-04 20:24:23 UTC |
0.1.0 | 2012-05-28 15:16:10 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 | 0.2.2 |
node 18 | 0.2.2 |
node 20 | 0.2.2 |
node 22 | 0.2.2 |
node 24 | 0.2.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 duration?
The latest stable version of duration is 0.2.2, published on 2018-10-31. Verified by Vigia on 2026-11-12.
How do I install the latest version of duration?
Run npm install duration@latest. The latest stable version is 0.2.2 (verified 2026-11-12).
Is duration deprecated?
No. duration is not marked as deprecated in the registry.
Which Node.js version does duration require?
duration 0.2.2 does not declare a Node.js version requirement.
Does duration 0.2.2 have known vulnerabilities?
No known advisories affect duration 0.2.2 according to the data Vigia checks.
Is duration still maintained?
duration published 0 stable releases in the last 12 months; the most recent was 2934 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @ckeditor/ckeditor5-utils
- browser-request
- p-all
- newrelic
- memoize
- @vue/tsconfig
- @visx/scale
- @storybook/ui
- is-valid-path
- @aws-sdk/util-base64-node
- @redux-saga/symbols
- @capacitor/core
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/duration) [](https://vigia.coredls.cloud/npm/duration) [](https://vigia.coredls.cloud/npm/duration)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/duration
GET https://vigia.coredls.cloud/v1/packages/npm/duration/versions/{version}