npm · npm:onetime
onetime active
Ensure a function is only called once
The latest stable version of onetime is 8.0.0, published on 2026-02-02. Verified by Vigia on 2026-11-12.
| Latest stable version | 8.0.0 |
|---|---|
| Published | 2026-02-02 07:42:24 UTC |
| Install | npm install onetime@latest |
| Requires (engines) | {"node":">=22"} |
| Peer dependencies | — |
| Dist-tags | latest: 8.0.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:45:06 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | slowing down |
|---|---|
| Last stable release | 2026-02-02 07:42:24 UTC · 283 days ago |
| Stable releases in the last 12 months | 1 |
| Published versions | 15 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
8.0.0 | 2026-02-02 07:42:24 UTC |
7.0.0 | 2023-11-05 20:42:03 UTC |
6.0.0 | 2021-04-08 13:48:04 UTC |
5.1.2 | 2020-08-09 20:29:04 UTC |
5.1.1 | 2020-08-02 10:28:50 UTC |
5.1.0 | 2019-04-02 02:39:48 UTC |
5.0.0 | 2019-03-08 05:58:33 UTC |
4.0.0 | 2019-03-01 09:15:21 UTC |
3.0.0 | 2019-01-20 15:38:13 UTC |
2.0.1 | 2017-03-20 03:24:17 UTC |
2.0.0 | 2016-10-19 18:41:56 UTC |
1.1.0 | 2015-12-18 00:30:55 UTC |
1.0.0 | 2014-08-13 17:03:51 UTC |
0.1.1 | 2014-04-30 22:39:14 UTC |
0.1.0 | 2013-12-13 21:20:18 UTC |
Showing the 15 most recent of 15 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 | 6.0.0 |
node 18 | 7.0.0 |
node 20 | 7.0.0 |
node 22 | 8.0.0 |
node 24 | 8.0.0 |
Upgrade guides for this package
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 onetime?
The latest stable version of onetime is 8.0.0, published on 2026-02-02. Verified by Vigia on 2026-11-12.
How do I install the latest version of onetime?
Run npm install onetime@latest. The latest stable version is 8.0.0 (verified 2026-11-12).
Is onetime deprecated?
No. onetime is not marked as deprecated in the registry.
Which Node.js version does onetime require?
onetime 8.0.0 declares this requirement: {"node":">=22"}.
Does onetime 8.0.0 have known vulnerabilities?
No known advisories affect onetime 8.0.0 according to the data Vigia checks.
Is onetime still maintained?
onetime published 1 stable releases in the last 12 months; the most recent was 283 days ago. Activity: slowing down.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- http-errors
- has-symbols
- es-define-property
- @jridgewell/resolve-uri
- @jridgewell/trace-mapping
- gopd
- is-extglob
- util-deprecate
- rimraf
- object-assign
- jiti
- magic-string
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/onetime) [](https://vigia.coredls.cloud/npm/onetime) [](https://vigia.coredls.cloud/npm/onetime)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/onetime
GET https://vigia.coredls.cloud/v1/packages/npm/onetime/versions/{version}