Package
@cfworker/json-schema
A JSON schema validator that will run on Cloudflare workers. Supports drafts 4, 7, 2019-09, and 2020-12.
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
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
- v4 first release 4.0.0, 5 Dec 2024
- v3 first release 3.0.0, 14 Nov 2024
- v2 first release 2.0.0, 19 Aug 2024
- v1 first release 1.1.3, 4 May 2020
Recent releases
| Version | Published |
|---|---|
| 4.1.1 | 31 Jan 2025 |
| 4.1.0 | 6 Jan 2025 |
| 4.0.3 | 10 Dec 2024 |
| 4.0.2 | 6 Dec 2024 |
| 4.0.1 | 5 Dec 2024 |
| 4.0.0 | 5 Dec 2024 |
| 3.0.1 | 15 Nov 2024 |
| 3.0.0 | 14 Nov 2024 |
| 2.0.1 | 22 Aug 2024 |
| 2.0.0 | 19 Aug 2024 |
| 1.12.8 | 29 Jan 2024 |
| 1.12.7 | 9 Aug 2023 |
| 1.12.6 | 9 Aug 2023 |
| 1.12.5 | 3 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- jsDelivr
https://cdn.jsdelivr.net/npm/@cfworker/json-schema@4.1.1/ - unpkg
https://unpkg.com/@cfworker/json-schema@4.1.1/ - esm.sh
https://esm.sh/@cfworker/json-schema@4.1.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| ts-json-schema-generator | 687.5k | - | 6 months ago | CommonJS | - |
| ajv | 287.9m | - | 5 months ago | CommonJS | - |
| @apidevtools/json-schema-ref-parser | 12.7m | - | 4 days ago | ESM only | - |
| @bcherny/json-schema-ref-parser | 247k | - | 3 years ago | ESM + CommonJS | - |
| asl-validator | 111k | - | 1 year ago | CommonJS | - |
Indexability: Indexed.