Skip to content
JS
Package

@graphql-codegen/cli

<p align="center"> <img src="https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true" /> </p>

v7.4.3, 24 Sept 2026MITESM + CommonJSTypes: BundledTypeScript toolingGraphQL
$ npm install @graphql-codegen/cli

Key numbers

As of 25 Sept 2026
Weekly downloads
5.1m
+59% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
35
Direct, from package.json
Last release
today
v7.4.3
GitHub stars
11.3k
1.4k forks
Open issues / PRs
408 / 68
Contributors
-
Commits, last 52 weeks
349

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6m8mSept 2025Mar 2026Sept 2026High 7.7m (21 Jul 2026)Low 1.7m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

5,069,422 downloads last week, 24,774,975 in the last month. The 12-month change of +59% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
23173 in total
Latest version
7.4.3, 24 Sept 2026today
First published
18 Mar 2019
Last push to GitHub
25 Sept 2026same day as the snapshot
Repository archived
No
Open issues
408
Open pull requests
68
Commits, last 52 weeks
349
Dependents on npm
350

Major versions

  1. v7 first release 7.0.0, 30 Apr 2026
  2. v6 first release 6.0.0, 7 Sept 2025
  3. v5 first release 5.0.0, 25 Jul 2023
  4. v4 first release 4.0.0, 24 May 2023
  5. v3 first release 3.0.0, 3 Feb 2023
  6. v2 first release 2.0.0, 3 Aug 2021
  7. v1 first release 1.0.0, 19 Mar 2019

Recent releases

VersionPublished
7.4.324 Sept 2026
7.4.220 Sept 2026
7.4.110 Sept 2026
7.4.01 Sept 2026
7.3.123 Aug 2026
7.3.022 Aug 2026
7.2.06 Jul 2026
7.1.316 Jun 2026
7.1.21 Jun 2026
7.1.131 May 2026
7.1.027 May 2026
7.0.127 May 2026
7.0.030 Apr 2026
6.3.118 Apr 2026
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=16
Runtimes
-
Unpacked size (npm)
264 kB
Dependencies (35)
jitiyamlchalktslibyargslistr2ts-logis-globdebouncemicromatchcosmiconfiglog-symbolsshell-quote@babel/typesdetect-indentgraphql-config@babel/template@babel/generator@inquirer/prompts@whatwg-node/fetch@graphql-tools/loadjson-to-pretty-yaml@graphql-tools/merge@graphql-tools/utils@graphql-codegen/corestring-env-interpolation@graphql-tools/git-loader@graphql-tools/url-loader@graphql-tools/github-loader@graphql-codegen/client-preset@graphql-codegen/plugin-helpers@graphql-tools/code-file-loader@graphql-tools/json-file-loader@graphql-tools/graphql-file-loader@graphql-tools/apollo-engine-loader
Peer dependencies (2)
graphql@parcel/watcher
npm install @graphql-codegen/cli
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@graphql-codegen/cli@7.4.3/
  • unpkghttps://unpkg.com/@graphql-codegen/cli@7.4.3/
  • esm.shhttps://esm.sh/@graphql-codegen/cli@7.4.3
PackageWeekly downloadsGzipLast releaseModuleComparison
@pothos/core319.7k-11 days agoESM + CommonJS-
@kubb/cli151.3k-todayESM + CommonJS-
@hey-api/codegen-core2.9m-3 months agoESM only-
gridstack384.2k-4 days agoCommonJS-
@medplum/fhirtypes150.2k-todayESM only-
@payloadcms/plugin-redirects98.1k-1 day agoESM only-
@payloadcms/plugin-multi-tenant58.7k-1 day agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.