@graphql-codegen/cli 6.2.1
<p align="center"> <img src="https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true" /> </p>
@graphql-codegen/cli@6.2.1 was published on 2026-03-12. Its manifest declares 35 runtime dependencies and 2 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=16.
All @graphql-codegen/cli versions · Permanent reference to 6.2.1 · Latest release
Package specifications
| Version | 6.2.1 |
|---|---|
| License declaration | MIT |
| Published | 2026-03-12T12:31:03.751Z |
| Node.js requirement | >=16 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 35 |
| Peer requirement count | 2 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 244.86 KiB |
| Published file count | 111 |
| Package type | module |
| ES module entry | esm/index.js |
| Default entry | cjs/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 336 |
| Repository stars | 11265 |
| Repository forks | 1402 |
Install @graphql-codegen/cli 6.2.1
npm install @graphql-codegen/cli@6.2.1 pnpm add @graphql-codegen/cli@6.2.1 yarn add @graphql-codegen/cli@6.2.1
Runtime dependencies
- jiti ^2.3.0
- yaml ^2.3.1
- chalk ^4.1.0
- tslib ^2.4.0
- yargs ^17.0.0
- listr2 ^9.0.0
- ts-log ^2.2.3
- is-glob ^4.0.1
- debounce ^2.0.0
- micromatch ^4.0.5
- cosmiconfig ^9.0.0
- log-symbols ^4.0.0
- shell-quote ^1.7.3
- @babel/types ^7.18.13
- detect-indent ^6.0.0
- graphql-config ^5.1.6
- @babel/template ^7.18.10
- @babel/generator ^7.18.13
- @inquirer/prompts ^7.8.2
- @whatwg-node/fetch ^0.10.0
- @graphql-tools/load ^8.1.8
- json-to-pretty-yaml ^1.2.2
- @graphql-tools/merge ^9.0.6
- @graphql-tools/utils ^11.0.0
- @graphql-codegen/core ^5.0.1
- string-env-interpolation ^1.0.1
- @graphql-tools/git-loader ^8.0.32
- @graphql-tools/url-loader ^9.0.6
- @graphql-tools/github-loader ^9.0.6
- @graphql-codegen/client-preset ^5.2.4
- @graphql-codegen/plugin-helpers ^6.2.0
- @graphql-tools/code-file-loader ^8.1.28
- @graphql-tools/json-file-loader ^8.0.26
- @graphql-tools/graphql-file-loader ^8.1.11
- @graphql-tools/apollo-engine-loader ^8.0.28
Peer requirements
- graphql ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0
- @parcel/watcher ^2.1.0 (optional peer)
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @babel/generator@7.29.8 — direct
- @babel/template@7.29.7 — direct
- @babel/types@7.29.11 — direct
- @graphql-codegen/client-preset@5.3.0 — direct
- @graphql-codegen/core@5.0.2 — direct
- @graphql-codegen/plugin-helpers@6.3.0 — direct
- @graphql-tools/apollo-engine-loader@8.0.40 — direct
- @graphql-tools/code-file-loader@8.1.43 — direct
- @graphql-tools/git-loader@8.0.46 — direct
- @graphql-tools/github-loader@9.1.13 — direct
- @graphql-tools/graphql-file-loader@8.1.24 — direct
- @graphql-tools/json-file-loader@8.0.38 — direct
- @graphql-tools/load@8.1.21 — direct
- @graphql-tools/merge@9.2.8 — direct
- @graphql-tools/url-loader@9.1.14 — direct
- @graphql-tools/utils@11.2.2 — direct
- @inquirer/prompts@7.10.1 — direct
- @whatwg-node/fetch@0.10.13 — direct
- chalk@4.1.2 — direct
- cosmiconfig@9.0.2 — direct
- debounce@2.2.0 — direct
- detect-indent@6.1.0 — direct
- graphql-config@5.1.8 — direct
- is-glob@4.0.3 — direct
- jiti@2.7.0 — direct
- json-to-pretty-yaml@1.2.2 — direct
- listr2@9.0.5 — direct
- log-symbols@4.1.0 — direct
- micromatch@4.0.8 — direct
- shell-quote@1.12.0 — direct
- string-env-interpolation@1.0.1 — direct
- ts-log@2.2.7 — direct
- tslib@2.8.1 — direct
- yaml@2.9.1 — direct
- yargs@17.7.3 — direct
- @babel/parser@7.29.11 — indirect
- @jridgewell/gen-mapping@0.3.13 — indirect
- @jridgewell/trace-mapping@0.3.31 — indirect
- jsesc@3.1.0 — indirect
- @babel/code-frame@7.29.7 — indirect
- @babel/helper-string-parser@7.29.11 — indirect
- @babel/helper-validator-identifier@7.29.7 — indirect
- @babel/helper-plugin-utils@7.29.7 — indirect
- @graphql-codegen/add@6.0.1 — indirect
- @graphql-codegen/gql-tag-operations@5.2.0 — indirect
- @graphql-codegen/typed-document-node@6.1.8 — indirect
- @graphql-codegen/typescript@5.0.10 — indirect
- @graphql-codegen/typescript-operations@5.1.0 — indirect
- @graphql-codegen/visitor-plugin-common@6.3.0 — indirect
- @graphql-tools/documents@1.0.2 — indirect
- @graphql-typed-document-node/core@3.2.0 — indirect
- @graphql-tools/schema@10.1.5 — indirect
- change-case-all@1.0.15 — indirect
- common-tags@1.8.2 — indirect
- import-from@4.0.0 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- @whatwg-node/fetch@0.12.1 — indirect
- sync-fetch@0.7.1 — indirect
- @graphql-tools/graphql-tag-pluck@8.3.41 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- globby@11.1.0 — indirect
- unixify@1.0.0 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- @graphql-tools/executor-http@3.5.0 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- @whatwg-node/fetch@0.12.1 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- @graphql-tools/import@7.2.4 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- p-limit@3.1.0 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- @graphql-tools/executor-graphql-ws@3.2.0 — indirect
- @graphql-tools/executor-legacy-ws@1.1.39 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- @graphql-tools/wrap@11.2.2 — indirect
- @types/ws@8.18.2 — indirect
- @whatwg-node/fetch@0.12.1 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- isomorphic-ws@5.0.0 — indirect
- ws@8.22.0 — indirect
- @whatwg-node/promise-helpers@1.3.2 — indirect
- cross-inspect@1.0.1 — indirect
- @inquirer/checkbox@4.3.2 — indirect
- @inquirer/confirm@5.1.21 — indirect
- @inquirer/editor@4.2.23 — indirect
- @inquirer/expand@4.0.23 — indirect
- @inquirer/input@4.3.1 — indirect
- @inquirer/number@3.0.23 — indirect
- @inquirer/password@4.0.23 — indirect
- @inquirer/rawlist@4.1.11 — indirect
- @inquirer/search@3.2.2 — indirect
- @inquirer/select@4.4.2 — indirect
- @whatwg-node/node-fetch@0.8.6 — indirect
- urlpattern-polyfill@10.1.0 — indirect
- ansi-styles@4.3.0 — indirect
- supports-color@7.2.0 — indirect
- env-paths@2.2.1 — indirect
- import-fresh@3.3.1 — indirect
- js-yaml@4.3.2 — indirect
- parse-json@5.2.0 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- cosmiconfig@8.3.6 — indirect
- minimatch@10.2.6 — indirect
- is-extglob@2.1.1 — indirect
- remedial@1.0.8 — indirect
- remove-trailing-spaces@1.0.9 — indirect
- cli-truncate@5.2.0 — indirect
- colorette@2.0.20 — indirect
- eventemitter3@5.0.4 — indirect
- log-update@6.1.0 — indirect
- rfdc@1.4.1 — indirect
- wrap-ansi@9.0.2 — indirect
- is-unicode-supported@0.1.0 — indirect
- braces@3.0.3 — indirect
- picomatch@2.3.2 — indirect
- cliui@8.0.1 — indirect
- escalade@3.2.0 — indirect
- get-caller-file@2.0.5 — indirect
- require-directory@2.1.1 — indirect
- string-width@4.2.3 — indirect
- y18n@5.0.8 — indirect
- yargs-parser@21.1.1 — indirect
- @jridgewell/sourcemap-codec@1.6.0 — indirect
- @jridgewell/resolve-uri@3.1.2 — indirect
- js-tokens@4.0.0 — indirect
- picocolors@1.1.1 — indirect
- auto-bind@4.0.0 — indirect
- @graphql-codegen/schema-ast@5.0.2 — indirect
- @graphql-tools/optimize@2.0.1 — indirect
- @graphql-tools/relay-operation-optimizer@7.1.14 — indirect
- dependency-graph@1.0.0 — indirect
- graphql-tag@2.12.7 — indirect
- parse-filepath@1.0.2 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- change-case@4.1.2 — indirect
- is-lower-case@2.0.2 — indirect
- is-upper-case@2.0.2 — indirect
- lower-case@2.0.2 — indirect
- lower-case-first@2.0.2 — indirect
- sponge-case@1.0.1 — indirect
- swap-case@2.0.2 — indirect
- title-case@3.0.3 — indirect
- upper-case@2.0.2 — indirect
- upper-case-first@2.0.2 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- @whatwg-node/node-fetch@0.9.3 — indirect
- node-fetch@3.3.2 — indirect
- timeout-signal@2.0.0 — indirect
- whatwg-mimetype@5.0.0 — indirect
- @babel/core@7.29.7 — indirect
- @babel/traverse@7.29.10 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- array-union@2.1.0 — indirect
- dir-glob@3.0.1 — indirect
- fast-glob@3.3.3 — indirect
- ignore@5.3.2 — indirect
- merge2@1.4.1 — indirect
- slash@3.0.0 — indirect
- normalize-path@2.1.1 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- @graphql-hive/signal@2.1.0 — indirect
- @graphql-tools/executor-common@1.1.0 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- @repeaterjs/repeater@3.1.0 — indirect
- @whatwg-node/disposablestack@0.0.6 — indirect
- meros@1.3.2 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- resolve-from@5.0.0 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- yocto-queue@0.1.0 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- @whatwg-node/disposablestack@0.0.6 — indirect
- graphql-ws@6.4.1 — indirect
- isows@1.0.7 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- @graphql-tools/delegate@12.3.0 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- @types/node@26.6.5 — indirect
- @inquirer/ansi@1.0.2 — indirect
- @inquirer/core@10.3.2 — indirect
- @inquirer/figures@1.0.15 — indirect
- @inquirer/type@3.0.10 — indirect
- yoctocolors-cjs@2.1.3 — indirect
- @inquirer/external-editor@1.0.3 — indirect
- @fastify/busboy@3.2.4 — indirect
- @whatwg-node/disposablestack@0.0.6 — indirect
- color-convert@2.0.1 — indirect
- has-flag@4.0.0 — indirect
- parent-module@1.0.1 — indirect
- resolve-from@4.0.0 — indirect
- argparse@2.0.1 — indirect
- error-ex@1.3.4 — indirect
- json-parse-even-better-errors@2.3.1 — indirect
- lines-and-columns@1.2.4 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- path-type@4.0.0 — indirect
- brace-expansion@5.0.12 — indirect
- slice-ansi@8.0.0 — indirect
- string-width@8.3.0 — indirect
- ansi-escapes@7.3.0 — indirect
- cli-cursor@5.0.0 — indirect
- slice-ansi@7.1.2 — indirect
- strip-ansi@7.2.0 — indirect
- wrap-ansi@9.0.2 — indirect
- ansi-styles@6.2.3 — indirect
- string-width@7.2.0 — indirect
- strip-ansi@7.2.0 — indirect
- fill-range@7.1.1 — indirect
- strip-ansi@6.0.1 — indirect
- wrap-ansi@7.0.0 — indirect
- emoji-regex@8.0.0 — indirect
- is-fullwidth-code-point@3.0.0 — indirect
- @ardatan/relay-compiler@13.0.2 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- is-absolute@1.0.0 — indirect
- map-cache@0.2.2 — indirect
- path-root@0.1.1 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- camel-case@4.1.2 — indirect
- capital-case@1.0.4 — indirect
- constant-case@3.0.4 — indirect
- dot-case@3.0.4 — indirect
- header-case@2.0.4 — indirect
- no-case@3.0.4 — indirect
- param-case@3.0.4 — indirect
- pascal-case@3.1.2 — indirect
- path-case@3.0.4 — indirect
- sentence-case@3.0.4 — indirect
- snake-case@3.0.4 — indirect
- @whatwg-node/disposablestack@0.1.0 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- data-uri-to-buffer@4.0.1 — indirect
- fetch-blob@3.2.0 — indirect
- formdata-polyfill@4.0.10 — indirect
- @babel/helper-compilation-targets@7.29.7 — indirect
- @babel/helper-module-transforms@7.29.7 — indirect
- @babel/helpers@7.29.10 — indirect
- @jridgewell/remapping@2.3.5 — indirect
- convert-source-map@2.0.0 — indirect
- debug@4.4.3 — indirect
- gensync@1.0.0-beta.2 — indirect
- json5@2.2.3 — indirect
- semver@6.3.1 — indirect
- @babel/helper-globals@7.29.7 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- @nodelib/fs.stat@2.0.5 — indirect
- @nodelib/fs.walk@1.2.8 — indirect
- glob-parent@5.1.2 — indirect
- remove-trailing-separator@1.1.0 — indirect
- @envelop/core@5.6.1 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- @whatwg-node/promise-helpers@1.3.2 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- @graphql-tools/batch-execute@10.3.0 — indirect
- @graphql-tools/executor@2.1.0 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- dataloader@2.2.3 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- undici-types@8.9.0 — indirect
- cli-width@4.1.0 — indirect
- mute-stream@2.0.0 — indirect
- signal-exit@4.1.0 — indirect
- wrap-ansi@6.2.0 — indirect
- chardet@2.2.0 — indirect
- iconv-lite@0.7.3 — indirect
- color-name@1.1.4 — indirect
- callsites@3.1.0 — indirect
- is-arrayish@0.2.1 — indirect
- balanced-match@4.0.4 — indirect
- ansi-styles@6.2.3 — indirect
- is-fullwidth-code-point@5.1.0 — indirect
- get-east-asian-width@1.7.0 — indirect
- strip-ansi@7.2.0 — indirect
- environment@1.1.0 — indirect
- restore-cursor@5.1.0 — indirect
- ansi-styles@6.2.3 — indirect
- is-fullwidth-code-point@5.1.0 — indirect
- ansi-regex@6.4.0 — indirect
- string-width@7.2.0 — indirect
- emoji-regex@10.6.0 — indirect
- ansi-regex@6.4.0 — indirect
- to-regex-range@5.0.1 — indirect
- ansi-regex@5.0.1 — indirect
- @babel/runtime@8.0.8 — indirect
- immutable@5.1.9 — indirect
- invariant@2.2.4 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- is-relative@1.0.0 — indirect
- is-windows@1.0.2 — indirect
- path-root-regex@0.1.2 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- node-domexception@1.0.0 — indirect
- web-streams-polyfill@3.3.3 — indirect
- @babel/compat-data@7.29.7 — indirect
- @babel/helper-validator-option@7.29.7 — indirect
- browserslist@4.29.5 — indirect
- lru-cache@5.1.1 — indirect
- @babel/helper-module-imports@7.29.7 — indirect
- ms@2.1.3 — indirect
- @nodelib/fs.scandir@2.1.5 — indirect
- fastq@1.20.3 — indirect
- @envelop/instrumentation@1.0.1 — indirect
- @envelop/types@5.2.2 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- safer-buffer@2.1.2 — indirect
- ansi-regex@6.4.0 — indirect
- onetime@7.0.0 — indirect
- emoji-regex@10.6.0 — indirect
- is-number@7.0.0 — indirect
- loose-envify@1.4.0 — indirect
- is-unc-path@1.0.0 — indirect
- baseline-browser-mapping@2.11.34 — indirect
- caniuse-lite@1.0.30001819 — indirect
- electron-to-chromium@1.5.467 — indirect
- node-releases@2.0.60 — indirect
- update-browserslist-db@1.3.4 — indirect
- yallist@3.1.1 — indirect
- run-parallel@1.2.0 — indirect
- reusify@1.1.0 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- mimic-function@5.0.1 — indirect
- unc-path-regex@0.1.2 — indirect
- queue-microtask@1.2.3 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 3/10 — Found 6/20 approved changesets -- score normalized to 3 |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Maintained | 10/10 — 30 commit(s) and 20 issue activity found in the last 90 days -- score normalized to 10 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Security-Policy | 0/10 — security policy file not detected |
| Pinned-Dependencies | 10/10 — all dependencies are pinned |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| Fuzzing | 0/10 — project is not fuzzed |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/%40graphql-codegen%2Fcli/6.2.1 — retrieved 2026-10-29T13:28:28.974Z
- https://api.deps.dev/v3/projects/github.com%2Fdotansimha%2Fgraphql-code-generator — retrieved 2026-10-29T09:39:31.038Z
- https://api.deps.dev/v3/systems/npm/packages/%40graphql-codegen%2Fcli/versions/6.2.1 — retrieved 2026-10-29T13:28:29.572Z
- https://api.deps.dev/v3/systems/npm/packages/%40graphql-codegen%2Fcli/versions/6.2.1:dependencies — retrieved 2026-10-29T13:28:29.625Z