Skip to content
JS
Package

gql2ts

Convert GraphQL Schema to TypeScript defs

v1.10.1, 25 Sept 2018MITCommonJSTypes: BundledGraphQLTypeScript tooling
$ npm install gql2ts

Key numbers

As of 25 Sept 2026
Weekly downloads
4.9k
+694% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
7 years ago
v1.10.1
GitHub stars
27
4 forks
Open issues / PRs
23 / 14
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15kSept 2025Mar 2026Sept 2026High 11.5k (3 Mar 2026)Low 197 (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

4,869 downloads last week, 22,982 in the last month. The 12-month change of +694% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.10.1, 25 Sept 20187 years ago
First published
-
Last push to GitHub
27 Jul 20231,155 days before the snapshot
Repository archived
No
Open issues
23
Open pull requests
14
Commits, last 52 weeks
0
Dependents on npm
3

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=6.0.0
Runtimes
-
Unpacked size (npm)
7.8 kB
Dependencies (5)
graphqlcommander@gql2ts/util@gql2ts/from-query@gql2ts/from-schema
npm install gql2ts
  • jsDelivrhttps://cdn.jsdelivr.net/npm/gql2ts@1.10.1/
  • unpkghttps://unpkg.com/gql2ts@1.10.1/
  • esm.shhttps://esm.sh/gql2ts@1.10.1
PackageWeekly downloadsGzipLast releaseModuleComparison
typed-graphqlify12k-4 years agoESM + CommonJS-
@graphql-tools/executor6.6m-17 days agoESM + CommonJS-
@apollo/utils.fetcher2.2m-2 years ago--
@apollo/cache-control-types2.1m-3 years agoESM + CommonJS-
@apollo/utils.withrequired2m-3 years ago--
graphql-type-json1.1m-6 years agoESM + CommonJS-
graphql-import-macro433.7k-6 years agoCommonJS-
@graphql-hive/cli281.7k-2 days agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 4869 < 10000.