Skip to content
JS
Package

@cfworker/json-schema

A JSON schema validator that will run on Cloudflare workers. Supports drafts 4, 7, 2019-09, and 2020-12.

v4.1.1, 31 Jan 2025MITESM + CommonJSTypes: BundledSchema validationCloud SDKs
$ npm install @cfworker/json-schema

Key numbers

As of 25 Sept 2026
Weekly downloads
5.8m
+406% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v4.1.1
GitHub stars
704
65 forks
Open issues / PRs
14 / 5
Contributors
-
Commits, last 52 weeks
2

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6m8mSept 2025Mar 2026Sept 2026High 7.7m (25 Aug 2026)Low 963.4k (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.

5,750,611 downloads last week, 27,290,204 in the last month. The 12-month change of +406% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
049 in total
Latest version
4.1.1, 31 Jan 20251 year ago
First published
4 May 2020
Last push to GitHub
10 Apr 2026168 days before the snapshot
Repository archived
No
Open issues
14
Open pull requests
5
Commits, last 52 weeks
2
Dependents on npm
355

Major versions

  1. v4 first release 4.0.0, 5 Dec 2024
  2. v3 first release 3.0.0, 14 Nov 2024
  3. v2 first release 2.0.0, 19 Aug 2024
  4. v1 first release 1.1.3, 4 May 2020

Recent releases

VersionPublished
4.1.131 Jan 2025
4.1.06 Jan 2025
4.0.310 Dec 2024
4.0.26 Dec 2024
4.0.15 Dec 2024
4.0.05 Dec 2024
3.0.115 Nov 2024
3.0.014 Nov 2024
2.0.122 Aug 2024
2.0.019 Aug 2024
1.12.829 Jan 2024
1.12.79 Aug 2023
1.12.69 Aug 2023
1.12.53 Oct 2022
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
170 kB
Dependencies (0)
None
npm install @cfworker/json-schema
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@cfworker/json-schema@4.1.1/
  • unpkghttps://unpkg.com/@cfworker/json-schema@4.1.1/
  • esm.shhttps://esm.sh/@cfworker/json-schema@4.1.1
PackageWeekly downloadsGzipLast releaseModuleComparison
ts-json-schema-generator687.5k-6 months agoCommonJS-
ajv287.9m-5 months agoCommonJS-
@apidevtools/json-schema-ref-parser12.7m-4 days agoESM only-
@bcherny/json-schema-ref-parser247k-3 years agoESM + CommonJS-
asl-validator111k-1 year agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.