npm · npm:defaults
defaults active
Easily handle defaults for your options
The latest stable version of defaults is 3.0.0, published on 2023-10-18. Verified by Vigia on 2026-11-12.
| Latest stable version | 3.0.0 |
|---|---|
| Published | 2023-10-18 10:12:24 UTC |
| Install | npm install defaults@latest |
| Requires (engines) | {"node":">=18"} |
| Peer dependencies | — |
| Dist-tags | latest: 3.0.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:44:39 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2023-10-18 10:12:24 UTC · 1121 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 9 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
3.0.0 | 2023-10-18 10:12:24 UTC |
2.0.2 | 2023-08-28 10:13:33 UTC |
2.0.1 | 2023-04-11 07:32:40 UTC |
2.0.0 | 2023-04-11 07:26:47 UTC |
1.0.4 | 2022-10-10 06:15:56 UTC |
1.0.3 | 2015-10-02 22:27:02 UTC |
1.0.2 | 2015-03-15 03:29:36 UTC |
1.0.1 | 2015-03-15 03:23:08 UTC |
1.0.0 | 2013-02-03 02:22:58 UTC |
Showing the 9 most recent of 9 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.2 |
node 18 | 3.0.0 |
node 20 | 3.0.0 |
node 22 | 3.0.0 |
node 24 | 3.0.0 |
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 defaults?
The latest stable version of defaults is 3.0.0, published on 2023-10-18. Verified by Vigia on 2026-11-12.
How do I install the latest version of defaults?
Run npm install defaults@latest. The latest stable version is 3.0.0 (verified 2026-11-12).
Is defaults deprecated?
No. defaults is not marked as deprecated in the registry.
Which Node.js version does defaults require?
defaults 3.0.0 declares this requirement: {"node":">=18"}.
Does defaults 3.0.0 have known vulnerabilities?
No known advisories affect defaults 3.0.0 according to the data Vigia checks.
Is defaults still maintained?
defaults published 0 stable releases in the last 12 months; the most recent was 1121 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @babel/plugin-syntax-class-properties
- jsx-ast-utils
- @babel/plugin-transform-async-to-generator
- yauzl
- jsonc-parser
- @emnapi/core
- detect-newline
- @babel/plugin-transform-for-of
- @aws-crypto/sha256-js
- @opentelemetry/sdk-metrics
- array.prototype.findlastindex
- @types/http-errors
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/defaults) [](https://vigia.coredls.cloud/npm/defaults) [](https://vigia.coredls.cloud/npm/defaults)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/defaults
GET https://vigia.coredls.cloud/v1/packages/npm/defaults/versions/{version}