type-graphql alternatives
8 packages that do the same job as type-graphql: @pothos/plugin-validation, tamedevil, quicktype-core, quicktype, nexus, graphql-schema-diff, grats, @apollo/cache-control-types. Figures below are from npm, GitHub and Bundlephobia.
| Package | Weekly downloads | 12-month change | Gzip | Dependencies | Last release | Module | Types | Runtimes |
|---|---|---|---|---|---|---|---|---|
| type-graphql This package | 510.1k | +101% | - | 6 | 7 months ago | ESM + CommonJS | Bundled | - |
| @pothos/plugin-validation | 39.7k | - | - | 0 | 11 days ago | ESM + CommonJS | Bundled | - |
| tamedevil | 33.9k | +381% | - | 2 | 4 months ago | CommonJS | Bundled | - |
| quicktype-core | 398.8k | +122% | - | 13 | 2 months ago | ESM + CommonJS | Bundled | - |
| quicktype | 172.7k | +168% | - | 16 | - | CommonJS | Bundled | - |
| nexus | 143.1k | +39% | - | 2 | 4 years ago | ESM + CommonJS | Bundled | - |
| graphql-schema-diff | 5.2k | +13% | - | 12 | 2 years ago | ESM + CommonJS | Bundled | - |
| grats | 5.5k | +408% | - | 4 | 5 months ago | ESM only | Bundled | - |
| @apollo/cache-control-types | 2.1m | +66% | - | 0 | 3 years 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.
A Pothos plugin for adding schema based validation
Compared with type-graphql
- 13x fewer weekly downloads (39.7k vs 510.1k)
- 0 dependencies vs 6
- Declares no Node.js engine range vs Node.js >= 20.11.1
- Last release 13 Sept 2026 vs 8 Feb 2026
- 3.1x fewer GitHub stars (2.6k vs 8.1k)
Build and evaluate JavaScript strings safely via tagged template literals
Compared with type-graphql
- 15x fewer weekly downloads (33.9k vs 510.1k)
- 2 dependencies vs 6
- CommonJS vs ESM + CommonJS
- Declares Node.js >=22 vs Node.js >= 20.11.1
- Last release 6 May 2026 vs 8 Feb 2026
- 1.6x more GitHub stars (12.9k vs 8.1k)
The quicktype engine as a library
Compared with type-graphql
- 1.3x fewer weekly downloads (398.8k vs 510.1k)
- 13 dependencies vs 6
- Declares Node.js >=20.0.0 vs Node.js >= 20.11.1
- Last release 20 Jul 2026 vs 8 Feb 2026
- 1.7x more GitHub stars (13.9k vs 8.1k)

Compared with type-graphql
- 3.0x fewer weekly downloads (172.7k vs 510.1k)
- 16 dependencies vs 6
- CommonJS vs ESM + CommonJS
- Declares Node.js >=20.19.0 vs Node.js >= 20.11.1
- Last release - vs 8 Feb 2026
- 1.7x more GitHub stars (13.9k vs 8.1k)
Scalable, strongly typed GraphQL schema development
Compared with type-graphql
- 3.6x fewer weekly downloads (143.1k vs 510.1k)
- 2 dependencies vs 6
- Declares no Node.js engine range vs Node.js >= 20.11.1
- Last release 5 Mar 2022 vs 8 Feb 2026
- 2.4x fewer GitHub stars (3.4k vs 8.1k)
Returns the diff of two GraphQL schemas. Detects dangerous and breaking changes.
Compared with type-graphql
- 97x fewer weekly downloads (5.2k vs 510.1k)
- 12 dependencies vs 6
- Declares Node.js >= 20 vs Node.js >= 20.11.1
- Last release 18 Aug 2024 vs 8 Feb 2026
- 119x fewer GitHub stars (68 vs 8.1k)
**The simplest way to build a GraphQL server in TypeScript**
Compared with type-graphql
- 92x fewer weekly downloads (5.5k vs 510.1k)
- 4 dependencies vs 6
- ESM only vs ESM + CommonJS
- Declares Node.js >=20 <=24 vs Node.js >= 20.11.1
- Last release 1 Apr 2026 vs 8 Feb 2026
- 23x fewer GitHub stars (357 vs 8.1k)
TypeScript types for Apollo Server info.cacheControl
Compared with type-graphql
- 4.1x more weekly downloads (2.1m vs 510.1k)
- 0 dependencies vs 6
- Declares no Node.js engine range vs Node.js >= 20.11.1
- Last release 26 Jun 2023 vs 8 Feb 2026
- 1.7x more GitHub stars (14k vs 8.1k)
Indexability: Indexed.