Skip to content
JS
Package

json-schema-defaults

Generate JSON object from default values in JSON Schema

v0.4.0, 13 Feb 2018MITCommonJSTypes: NoneSchema validation
$ npm install json-schema-defaults

Key numbers

As of 25 Sept 2026
Weekly downloads
16.8k
+34% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
8 years ago
v0.4.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
010k20k30kSept 2025Mar 2026Sept 2026High 29.1k (12 May 2026)Low 8.1k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

16,805 downloads last week, 71,812 in the last month. The 12-month change of +34% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.4.0, 13 Feb 20188 years ago
First published
-
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
108

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
112 kB
Dependencies (1)
argparse
npm install json-schema-defaults
  • jsDelivrhttps://cdn.jsdelivr.net/npm/json-schema-defaults@0.4.0/
  • unpkghttps://unpkg.com/json-schema-defaults@0.4.0/
  • esm.shhttps://esm.sh/json-schema-defaults@0.4.0
PackageWeekly downloadsGzipLast releaseModuleComparison
json-schema42.6m-4 years agoCommonJS-
json-schema-merge-allof1.5m-5 years ago--
ts-json-schema-generator687.5k-6 months agoCommonJS-
json-schema-deref-sync280k-5 years agoCommonJS-
@stoplight/json-schema-merge-allof199.4k-2 years agoCommonJS-
as-typed50.9k-4 years ago--
@jsonhero/schema-infer8.6k-3 years agoCommonJS-
ajv-dist6.7k-2 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.