</>PackageGraphPackageGraph

defaults

npmv3.0.0TypeScript

Easily handle defaults for your options

47.6M
Weekly downloads
1
Dependents
3
Dependencies
95/100
Popularity

Overview

defaults is an npm package that easily handle defaults for your options. It is extremely widely used, with about 47.6M downloads per week and 1 known dependents in the graph. The latest version is 3.0.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need easily handle defaults for your options and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (47.6M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).
  • Lean dependency tree (3 direct dependencies).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of defaults.

wcwidthdefaults
defaults dependencies dependents

Dependencies

Dev (3)

ava ^5.3.1tsd ^0.29.0xo ^0.56.0

Used by

Popular packages that depend on defaults.

Alternatives to defaults

Version history

VersionPublishedLicense
3.0.0latest2 years agoMIT
2.0.22 years agoMIT
2.0.13 years agoMIT
2.0.03 years agoMIT
1.0.43 years agoMIT
1.0.310 years agoMIT
1.0.211 years agoMIT
1.0.111 years agoMIT
1.0.013 years agoMIT

Maintainers

Keywords

Funding

Frequently asked questions

How do I install defaults?

Run `npm install defaults` to add defaults to your npm project.

What license is defaults released under?

defaults is distributed under the MIT license.

How popular is defaults?

defaults has approximately 47,573,389 downloads per week and 1 known dependent packages.