Package
type-graphql
Create GraphQL schema and resolvers with TypeScript, using classes and decorators!
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 510.1k
- +101% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 6
- Direct, from package.json
- Last release
- 7 months ago
- v2.0.0-rc.3
- GitHub stars
- 8.1k
- 670 forks
- Open issues / PRs
- 99 / 21
- Contributors
- -
- Commits, last 52 weeks
- 25
Downloads
Last week 2026-09-15 to 2026-09-21
510,146 downloads last week, 2,523,522 in the last month. The 12-month change of +101% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 037 in total
- Latest version
- 2.0.0-rc.3, 8 Feb 20267 months ago
- First published
- 31 Jan 2018
- Last push to GitHub
- 16 Jul 202670 days before the snapshot
- Repository archived
- No
- Open issues
- 99
- Open pull requests
- 21
- Commits, last 52 weeks
- 25
- Dependents on npm
- 513
Major versions
- v1 first release 1.0.0, 19 Aug 2020
- v0 first release 0.1.0, 31 Jan 2018
Recent releases
| Version | Published |
|---|---|
| 1.1.1 | 4 Nov 2020 |
| 1.1.0 | 12 Oct 2020 |
| 1.0.0 | 19 Aug 2020 |
| 0.17.6 | 21 Dec 2019 |
| 0.17.5 | 18 Aug 2019 |
| 0.17.4 | 12 May 2019 |
| 0.17.3 | 24 Apr 2019 |
| 0.17.2 | 23 Apr 2019 |
| 0.17.1 | 29 Mar 2019 |
| 0.17.0 | 4 Mar 2019 |
| 0.16.0 | 22 Dec 2018 |
| 0.15.0 | 17 Oct 2018 |
| 0.14.0 | 8 Sept 2018 |
| 0.13.1 | 14 Aug 2018 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >= 20.11.1
- Runtimes
- -
- Unpacked size (npm)
- 343 kB
- Dependencies (6)
tslibsemver@types/node@types/semvergraphql-query-complexity@graphql-yoga/subscription- Peer dependencies (3)
graphqlclass-validatorgraphql-scalars
npm install type-graphql- jsDelivr
https://cdn.jsdelivr.net/npm/type-graphql@2.0.0-rc.3/ - unpkg
https://unpkg.com/type-graphql@2.0.0-rc.3/ - esm.sh
https://esm.sh/type-graphql@2.0.0-rc.3
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @pothos/plugin-validation | 39.7k | - | 11 days ago | ESM + CommonJS | - |
| tamedevil | 33.9k | - | 4 months ago | CommonJS | - |
| quicktype-core | 398.8k | - | 2 months ago | ESM + CommonJS | type-graphql vs quicktype-core |
| quicktype | 172.7k | - | - | CommonJS | - |
| nexus | 143.1k | - | 4 years ago | ESM + CommonJS | type-graphql vs nexus |
| graphql-schema-diff | 5.2k | - | 2 years ago | ESM + CommonJS | - |
| grats | 5.5k | - | 5 months ago | ESM only | - |
| @apollo/cache-control-types | 2.1m | - | 3 years ago | ESM + CommonJS | @apollo/cache-control-types vs type-graphql |
Related
Indexability: Indexed.