runtypes alternatives
8 packages that do the same job as runtypes: io-ts, @standard-schema/spec, @inixiative/json-rules, @zod/mini, json-schema-to-ts, @accordproject/concerto-vocabulary, @accordproject/concerto-util, @c15t/schema. Figures below are from npm, GitHub and Bundlephobia.
| Package | Weekly downloads | 12-month change | Gzip | Dependencies | Last release | Module | Types | Runtimes |
|---|---|---|---|---|---|---|---|---|
| runtypes This package | 186.3k | -1% | - | 0 | 1 month ago | ESM + CommonJS | Bundled | - |
| io-ts | 2m | +22% | - | 0 | 1 year ago | ESM + CommonJS | Bundled | - |
| @standard-schema/spec | 80.7m | +892% | - | 0 | 9 months ago | ESM + CommonJS | Bundled | - |
| @inixiative/json-rules | 21.6k | - | - | 2 | 4 days ago | ESM + CommonJS | Bundled | - |
| @zod/mini | 14.9k | - | - | 0 | 11 days ago | ESM + CommonJS | Bundled | - |
| json-schema-to-ts | 24.9m | +962% | - | 2 | 2 years ago | ESM + CommonJS | Bundled | - |
| @accordproject/concerto-vocabulary | 58.5k | - | - | 2 | 16 days ago | ESM + CommonJS | Bundled | - |
| @accordproject/concerto-util | 9.1k | - | - | 4 | 16 days ago | ESM + CommonJS | Bundled | - |
| @c15t/schema | 116.6k | - | - | 1 | 1 month ago | ESM + CommonJS | Bundled | - |
12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package (Bundlephobia). Runtimes are taken from each package's own documentation; "-" means not recorded.
TypeScript runtime type system for IO decoding/encoding
Compared with runtypes
- 11x more weekly downloads (2m vs 186.3k)
- Last release 10 Dec 2024 vs 14 Aug 2026
- 2.5x more GitHub stars (6.8k vs 2.7k)
A family of specs for interoperable TypeScript
Compared with runtypes
- 433x more weekly downloads (80.7m vs 186.3k)
- Last release 15 Dec 2025 vs 14 Aug 2026
- 1.3x more GitHub stars (3.6k vs 2.7k)
TypeScript-first JSON rules engine with intuitive syntax and detailed error messages
Compared with runtypes
- 8.6x fewer weekly downloads (21.6k vs 186.3k)
- 2 dependencies vs 0
- Last release 20 Sept 2026 vs 14 Aug 2026
- 540x fewer GitHub stars (5 vs 2.7k)
Zod Mini as a standalone package: the tree-shakable, functional variant of Zod
Compared with runtypes
- 12x fewer weekly downloads (14.9k vs 186.3k)
- Last release 13 Sept 2026 vs 14 Aug 2026
- 16x more GitHub stars (44k vs 2.7k)
Infer typescript types from your JSON schemas!
Compared with runtypes
- 134x more weekly downloads (24.9m vs 186.3k)
- 2 dependencies vs 0
- Declares Node.js >=16 vs none declared
- Last release 29 Aug 2024 vs 14 Aug 2026
- 1.5x fewer GitHub stars (1.8k vs 2.7k)
Associate human-readable text to model declarations
Compared with runtypes
- 3.2x fewer weekly downloads (58.5k vs 186.3k)
- 2 dependencies vs 0
- Declares Node.js >=18 vs none declared
- Last release 8 Sept 2026 vs 14 Aug 2026
- 13x fewer GitHub stars (208 vs 2.7k)
Utilities for Concerto Modeling Language
Compared with runtypes
- 20x fewer weekly downloads (9.1k vs 186.3k)
- 4 dependencies vs 0
- Declares Node.js >=18 vs none declared
- Last release 8 Sept 2026 vs 14 Aug 2026
- 13x fewer GitHub stars (208 vs 2.7k)
Framework-agnostic Valibot schemas and TypeScript types for c15t consent management
Compared with runtypes
- 1.6x fewer weekly downloads (116.6k vs 186.3k)
- 1 dependency vs 0
- Last release 4 Aug 2026 vs 14 Aug 2026
- 1.4x fewer GitHub stars (1.9k vs 2.7k)
Indexability: Indexed.