@cfworker/json-schema
JSON Schema validator that runs on Cloudflare Workers and other edge runtimes.
Forms, validation and schemas npm MIT
How @cfworker/json-schema is used
@cfworker/json-schema is a dependency in 4 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 27 projects, and what it is used with below comes from all of them. The most used alternative in our scan is Ajv (151 projects). Projects that use it most often also use Zod (96.3%), Lucide React (81.5%), Vercel Analytics (77.8%).
@cfworker/json-schema popularity over time
Gid Score 48: downloads 81, use in agent projects 32, GitHub stars 6, downloads trend 67 (each 0-100). How it is calculated.
Often used with @cfworker/json-schema
| Zod | 96.3% of @cfworker/json-schema projects · 3.8× more than average |
|---|---|
| Lucide React | 81.5% of @cfworker/json-schema projects · 4.1× more than average |
| Vercel Analytics | 77.8% of @cfworker/json-schema projects · 21.6× more than average |
| Next.js | 77.8% of @cfworker/json-schema projects · 4.3× more than average |
| Google Generative AI | 74.1% of @cfworker/json-schema projects · 27.2× more than average |
| Model Context Protocol SDK (JavaScript) | 66.7% of @cfworker/json-schema projects · 7.0× more than average |
| tsx | 66.7% of @cfworker/json-schema projects · 4.4× more than average |
| node-fetch | 59.3% of @cfworker/json-schema projects · 35.4× more than average |
From all 27 projects in our scan that use @cfworker/json-schema, including the dependency samples.
Install
| Package | npm install @cfworker/json-schema |
|---|---|
| Main stacks | Next.js (21), TypeScript / JavaScript (6) |
| Example projects | lobehub/lobehub, vual/lobe-chat-pro, WolframResearch/vscode-wolfram, isaccanedo/lobe-chat, Kirkice/renderdoc-for-vscode |
Alternatives to @cfworker/json-schema
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside @cfworker/json-schema are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| Ajv npm Fast JSON Schema validator for runtime schema validation and serialization. |
75 | 151 (3.1%) | 233M | 14.9K | MIT |
More in Forms, validation and schemas: Zod React Hook Form Pydantic React Hook Form Resolvers jsonschema ajv-formats Protocol Buffers zod-to-json-schema