Schemastery
Type-driven schema validator providing type-safe data validation.
Forms, validation and schemas npm MIT
How Schemastery is used
Schemastery is a dependency in 1 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 58 projects, and what it is used with below comes from all of them. The most used alternative in our scan is Zod (1,553 projects). Projects that use it most often also use @deepseek-ai/dsh-tools (63.8%), DeepSeek Harness LLM (60.3%), DeepSeek DSH Agent (43.1%).
Schemastery popularity over time
Gid Score 66: downloads 56, use in agent projects 43, GitHub stars 100, downloads trend 68 (each 0-100). How it is calculated.
Often used with Schemastery
| @deepseek-ai/dsh-tools | 63.8% of Schemastery projects · 3960.3× more than average |
|---|---|
| DeepSeek Harness LLM | 60.3% of Schemastery projects · 3746.2× more than average |
| DeepSeek DSH Agent | 43.1% of Schemastery projects · 2675.9× more than average |
| DeepSeek DSH Session | 43.1% of Schemastery projects · 2675.9× more than average |
| tsdown | 37.9% of Schemastery projects · 36.8× more than average |
| TypeScript | 81.0% of Schemastery projects · 1.5× more than average |
| Vitest | 46.6% of Schemastery projects · 2.3× more than average |
From all 58 projects in our scan that use Schemastery, including the dependency samples.
Install
| Package | npm install @deepseek-ai/schemastery |
|---|---|
| Main stacks | TypeScript / JavaScript (58) |
| Example projects | ccch1mneyyy/dsh-TUI, FSMargoo/dsh-at-file, Nwflower/dsh-chat-import, hewzhew/dsh-agent-rp, omdsh-dev/dsh_workflow |
Alternatives to Schemastery
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Schemastery are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| Zod npm TypeScript-first schema validation library with static type inference. |
88 | 1,553 (32.2%) | 207M | 44.2K | MIT |
| Ajv npm Fast JSON Schema validator for runtime schema validation and serialization. |
75 | 151 (3.1%) | 233M | 14.9K | MIT |
| Valibot npm Modular and type-safe schema validation library for structural data with minimal bundle size. |
62 | 33 (0.7%) | 13.1M | 9,044 | MIT |
| TypeBox npm JSON Schema type builder with static type resolution for TypeScript validation. |
55 | 30 (0.6%) | 118M | 12 | MIT |
| Yup npm Simple schema validation library for JavaScript with chainable API and error handling. |
64 | 17 (0.4%) | 6.8M | 23.7K | MIT |
More in Forms, validation and schemas: React Hook Form Pydantic React Hook Form Resolvers jsonschema ajv-formats Protocol Buffers zod-to-json-schema email-validator