Skip to content
JS
Package

z-schema

Fast, lightweight JSON Schema validator for Node.js and browsers — full support for draft-04, draft-06, draft-07, draft-2019-09, and draft-2020-12 (latest)

v12.4.6, 17 Sept 2026MITESM + CommonJSTypes: BundledSchema validation
$ npm install z-schema

Key numbers

As of 25 Sept 2026
Weekly downloads
2.2m
+1% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
7 days ago
v12.4.6
GitHub stars
350
91 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
308

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3m4mSept 2025Mar 2026Sept 2026High 3.8m (9 Jun 2026)Low 1.3m (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.

2,160,386 downloads last week, 10,972,248 in the last month. The 12-month change of +1% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
35159 in total
Latest version
12.4.6, 17 Sept 20267 days ago
First published
23 Jul 2013
Last push to GitHub
24 Sept 2026same day as the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
308
Dependents on npm
261

Major versions

  1. v12 first release 12.0.0, 28 Feb 2026
  2. v11 first release 11.0.1, 25 Feb 2026
  3. v10 first release 10.0.0, 24 Feb 2026
  4. v9 first release 9.0.0, 9 Feb 2026
  5. v8 first release 8.0.0, 5 Feb 2026
  6. v7 first release 7.0.0, 30 Jan 2026
  7. v6 first release 6.0.0, 12 Apr 2023
  8. v5 first release 5.0.0, 9 Oct 2020
  9. v4 first release 4.0.0, 5 Apr 2019
  10. v3 first release 3.0.0, 20 Aug 2014
  11. v2 first release 2.0.0, 11 Sept 2013
  12. v1 first release 1.0.0, 23 Jul 2013

Recent releases

VersionPublished
12.4.617 Sept 2026
12.4.53 Sept 2026
12.4.427 Aug 2026
12.4.320 Aug 2026
12.4.213 Aug 2026
12.4.128 Jul 2026
12.4.09 Jul 2026
12.3.13 Jun 2026
12.2.027 Apr 2026
12.1.12 Apr 2026
12.1.020 Mar 2026
12.0.520 Mar 2026
12.0.419 Mar 2026
12.0.317 Mar 2026
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=22.0.0
Runtimes
-
Unpacked size (npm)
1.1 MB
Dependencies (3)
punycodevalidatorsafe-regex2
npm install z-schema
  • jsDelivrhttps://cdn.jsdelivr.net/npm/z-schema@12.4.6/
  • unpkghttps://unpkg.com/z-schema@12.4.6/
  • esm.shhttps://esm.sh/z-schema@12.4.6
PackageWeekly downloadsGzipLast releaseModuleComparison
@exodus/schemasafe3.3m-3 years agoCommonJS-
ajv287.9m-5 months agoCommonJS-
@redocly/ajv6.8m-5 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.