@graphql-codegen/cli 4.0.1
<p align="center"> <img src="https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true" /> </p>
@graphql-codegen/cli@4.0.1 was published on 2023-06-01. Its manifest declares 35 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All @graphql-codegen/cli versions · Permanent reference to 4.0.1 · Latest release
Package specifications
| Version | 4.0.1 |
|---|---|
| License declaration | MIT |
| Published | 2023-06-01T14:55:48.777Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 35 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 233.06 KiB |
| Published file count | 107 |
| 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 | 364 |
| Repository stars | 11265 |
| Repository forks | 1402 |
Install @graphql-codegen/cli 4.0.1
npm install @graphql-codegen/cli@4.0.1 pnpm add @graphql-codegen/cli@4.0.1 yarn add @graphql-codegen/cli@4.0.1
Runtime dependencies
- jiti ^1.17.1
- yaml ^1.10.0
- chalk ^4.1.0
- tslib ^2.4.0
- yargs ^17.0.0
- listr2 ^4.0.5
- ts-log ^2.2.3
- is-glob ^4.0.1
- debounce ^1.2.0
- inquirer ^8.0.0
- micromatch ^4.0.5
- cosmiconfig ^8.1.3
- log-symbols ^4.0.0
- shell-quote ^1.7.3
- @babel/types ^7.18.13
- detect-indent ^6.0.0
- graphql-config ^5.0.2
- @babel/template ^7.18.10
- @parcel/watcher ^2.1.0
- @babel/generator ^7.18.13
- @whatwg-node/fetch ^0.8.0
- @graphql-tools/load ^8.0.0
- json-to-pretty-yaml ^1.2.2
- @graphql-tools/utils ^10.0.0
- @graphql-codegen/core ^4.0.0
- string-env-interpolation ^1.0.1
- @graphql-tools/git-loader ^8.0.0
- @graphql-tools/url-loader ^8.0.0
- @graphql-tools/github-loader ^8.0.0
- @graphql-tools/prisma-loader ^8.0.0
- @graphql-codegen/plugin-helpers ^5.0.0
- @graphql-tools/code-file-loader ^8.0.0
- @graphql-tools/json-file-loader ^8.0.0
- @graphql-tools/graphql-file-loader ^8.0.0
- @graphql-tools/apollo-engine-loader ^8.0.0
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
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/core@4.0.2 — direct
- @graphql-codegen/plugin-helpers@5.1.1 — 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@8.0.22 — 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/prisma-loader@8.0.17 — direct
- @graphql-tools/url-loader@8.0.33 — direct
- @graphql-tools/utils@10.11.0 — direct
- @parcel/watcher@2.6.0 — direct
- @whatwg-node/fetch@0.8.8 — direct
- chalk@4.1.2 — direct
- cosmiconfig@8.3.6 — direct
- debounce@1.2.1 — direct
- detect-indent@6.1.0 — direct
- graphql-config@5.1.8 — direct
- inquirer@8.2.7 — direct
- is-glob@4.0.3 — direct
- jiti@1.21.7 — direct
- json-to-pretty-yaml@1.2.2 — direct
- listr2@4.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@1.10.3 — 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
- @graphql-tools/schema@10.1.5 — indirect
- tslib@2.6.3 — indirect
- change-case-all@1.0.15 — indirect
- common-tags@1.8.2 — indirect
- import-from@4.0.0 — indirect
- lodash@4.17.23 — indirect
- tslib@2.6.3 — 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@1.3.3 — indirect
- @whatwg-node/fetch@0.10.13 — indirect
- @whatwg-node/promise-helpers@1.3.2 — indirect
- sync-fetch@0.6.0-2 — 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
- @types/js-yaml@4.0.9 — indirect
- @whatwg-node/fetch@0.10.13 — indirect
- debug@4.4.3 — indirect
- dotenv@16.6.1 — indirect
- graphql-request@6.1.0 — indirect
- http-proxy-agent@7.0.2 — indirect
- https-proxy-agent@7.0.6 — indirect
- jose@5.10.0 — indirect
- js-yaml@4.3.2 — indirect
- scuid@1.1.0 — indirect
- yaml-ast-parser@0.0.43 — indirect
- @graphql-tools/executor-graphql-ws@2.0.7 — indirect
- @graphql-tools/executor-legacy-ws@1.1.39 — indirect
- @graphql-tools/wrap@10.1.4 — indirect
- @types/ws@8.18.2 — indirect
- @whatwg-node/fetch@0.10.13 — indirect
- isomorphic-ws@5.0.0 — indirect
- sync-fetch@0.6.0-2 — indirect
- ws@8.22.0 — indirect
- @graphql-typed-document-node/core@3.2.0 — indirect
- cross-inspect@1.0.1 — indirect
- @parcel/watcher-android-arm64@2.6.0 — indirect
- @parcel/watcher-darwin-arm64@2.6.0 — indirect
- @parcel/watcher-darwin-x64@2.6.0 — indirect
- @parcel/watcher-freebsd-x64@2.6.0 — indirect
- @parcel/watcher-linux-arm-glibc@2.6.0 — indirect
- @parcel/watcher-linux-arm-musl@2.6.0 — indirect
- @parcel/watcher-linux-arm64-glibc@2.6.0 — indirect
- @parcel/watcher-linux-arm64-musl@2.6.0 — indirect
- @parcel/watcher-linux-x64-glibc@2.6.0 — indirect
- @parcel/watcher-linux-x64-musl@2.6.0 — indirect
- @parcel/watcher-win32-arm64@2.6.0 — indirect
- @parcel/watcher-win32-x64@2.6.0 — indirect
- detect-libc@2.1.2 — indirect
- node-addon-api@7.1.1 — indirect
- picomatch@4.0.7 — indirect
- @peculiar/webcrypto@1.7.2 — indirect
- @whatwg-node/node-fetch@0.3.6 — indirect
- busboy@1.6.0 — indirect
- urlpattern-polyfill@8.0.2 — indirect
- web-streams-polyfill@3.3.3 — indirect
- ansi-styles@4.3.0 — indirect
- supports-color@7.2.0 — indirect
- import-fresh@3.3.1 — indirect
- parse-json@5.2.0 — indirect
- path-type@4.0.0 — indirect
- @graphql-tools/merge@9.2.8 — indirect
- @graphql-tools/url-loader@9.1.14 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- jiti@2.7.0 — indirect
- minimatch@10.2.6 — indirect
- @inquirer/external-editor@1.0.3 — indirect
- ansi-escapes@4.3.2 — indirect
- cli-cursor@3.1.0 — indirect
- cli-width@3.0.0 — indirect
- figures@3.2.0 — indirect
- mute-stream@0.0.8 — indirect
- ora@5.4.1 — indirect
- run-async@2.4.1 — indirect
- rxjs@7.8.2 — indirect
- string-width@4.2.3 — indirect
- strip-ansi@6.0.1 — indirect
- through@2.3.8 — indirect
- wrap-ansi@6.2.0 — indirect
- is-extglob@2.1.1 — indirect
- remedial@1.0.8 — indirect
- remove-trailing-spaces@1.0.9 — indirect
- cli-truncate@2.1.0 — indirect
- colorette@2.0.20 — indirect
- log-update@4.0.0 — indirect
- p-map@4.0.0 — indirect
- rfdc@1.4.1 — indirect
- wrap-ansi@7.0.0 — 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
- 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
- @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
- urlpattern-polyfill@10.1.0 — 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@1.0.0 — indirect
- @graphql-tools/executor-common@0.0.4 — indirect
- @repeaterjs/repeater@3.1.0 — indirect
- @whatwg-node/disposablestack@0.0.6 — indirect
- @whatwg-node/fetch@0.10.13 — indirect
- meros@1.3.2 — indirect
- @whatwg-node/node-fetch@0.8.6 — indirect
- whatwg-mimetype@4.0.0 — 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/node-fetch@0.8.6 — indirect
- ms@2.1.3 — indirect
- cross-fetch@3.2.0 — indirect
- agent-base@7.1.4 — indirect
- argparse@2.0.1 — indirect
- @graphql-tools/executor-common@0.0.6 — indirect
- @whatwg-node/disposablestack@0.0.6 — indirect
- graphql-ws@6.4.1 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- @graphql-tools/delegate@10.2.23 — indirect
- @types/node@26.6.5 — indirect
- @whatwg-node/node-fetch@0.8.6 — indirect
- whatwg-mimetype@4.0.0 — indirect
- @peculiar/asn1-schema@2.11.1 — indirect
- @peculiar/json-schema@1.1.12 — indirect
- @peculiar/utils@2.0.3 — indirect
- webcrypto-core@1.9.2 — indirect
- @whatwg-node/events@0.0.3 — indirect
- fast-querystring@1.1.2 — indirect
- fast-url-parser@1.1.3 — indirect
- streamsearch@1.1.0 — 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
- error-ex@1.3.4 — indirect
- json-parse-even-better-errors@2.3.1 — indirect
- lines-and-columns@1.2.4 — indirect
- @graphql-tools/utils@12.1.0 — indirect
- @graphql-tools/executor-graphql-ws@3.2.0 — indirect
- @graphql-tools/executor-http@3.5.0 — indirect
- @graphql-tools/wrap@11.2.2 — indirect
- @whatwg-node/fetch@0.12.1 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- brace-expansion@5.0.12 — indirect
- chardet@2.2.0 — indirect
- iconv-lite@0.7.3 — indirect
- type-fest@0.21.3 — indirect
- restore-cursor@3.1.0 — indirect
- escape-string-regexp@1.0.5 — indirect
- bl@4.1.0 — indirect
- cli-spinners@2.9.2 — indirect
- is-interactive@1.0.0 — indirect
- wcwidth@1.0.1 — indirect
- emoji-regex@8.0.0 — indirect
- is-fullwidth-code-point@3.0.0 — indirect
- ansi-regex@5.0.1 — indirect
- slice-ansi@3.0.0 — indirect
- slice-ansi@4.0.0 — indirect
- aggregate-error@3.1.0 — indirect
- fill-range@7.1.1 — indirect
- wrap-ansi@7.0.0 — 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
- @fastify/busboy@3.2.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
- 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
- @whatwg-node/node-fetch@0.8.6 — indirect
- @whatwg-node/disposablestack@0.0.6 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- @whatwg-node/disposablestack@0.0.6 — indirect
- node-fetch@2.7.0 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- @graphql-tools/batch-execute@9.0.19 — indirect
- @graphql-tools/executor@1.5.7 — indirect
- dataloader@2.2.3 — indirect
- dset@3.1.4 — indirect
- undici-types@8.9.0 — indirect
- @whatwg-node/disposablestack@0.0.6 — indirect
- asn1js@3.1.0 — indirect
- fast-decode-uri-component@1.0.1 — indirect
- punycode@1.4.1 — indirect
- color-name@1.1.4 — indirect
- callsites@3.1.0 — indirect
- is-arrayish@0.2.1 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- @graphql-tools/executor-common@1.1.0 — indirect
- @whatwg-node/disposablestack@0.0.6 — indirect
- isows@1.0.7 — indirect
- @graphql-hive/signal@2.1.0 — indirect
- @whatwg-node/fetch@0.10.13 — indirect
- @whatwg-node/promise-helpers@1.3.2 — indirect
- @graphql-tools/delegate@12.3.0 — indirect
- @whatwg-node/promise-helpers@1.3.2 — indirect
- @whatwg-node/node-fetch@0.9.3 — indirect
- balanced-match@4.0.4 — indirect
- safer-buffer@2.1.2 — indirect
- onetime@5.1.2 — indirect
- signal-exit@3.0.7 — indirect
- buffer@5.7.1 — indirect
- inherits@2.0.4 — indirect
- readable-stream@3.6.2 — indirect
- defaults@1.0.4 — indirect
- astral-regex@2.0.0 — indirect
- clean-stack@2.2.0 — indirect
- indent-string@4.0.0 — indirect
- to-regex-range@5.0.1 — indirect
- @whatwg-node/promise-helpers@2.0.1 — indirect
- node-domexception@1.0.0 — 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
- @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-url@5.0.0 — indirect
- @graphql-tools/utils@11.2.2 — indirect
- @whatwg-node/disposablestack@0.0.6 — indirect
- pvtsutils@1.3.6 — indirect
- pvutils@1.2.0 — indirect
- @whatwg-node/promise-helpers@1.3.2 — indirect
- @whatwg-node/node-fetch@0.8.6 — indirect
- @graphql-tools/batch-execute@10.3.0 — indirect
- @graphql-tools/executor@2.1.0 — indirect
- @whatwg-node/promise-helpers@1.3.2 — indirect
- @whatwg-node/disposablestack@0.1.0 — indirect
- mimic-fn@2.1.0 — indirect
- base64-js@1.5.1 — indirect
- ieee754@1.2.1 — indirect
- string_decoder@1.3.0 — indirect
- util-deprecate@1.0.2 — indirect
- clone@1.0.4 — indirect
- is-number@7.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
- tr46@0.0.3 — indirect
- webidl-conversions@3.0.1 — indirect
- @whatwg-node/promise-helpers@1.3.2 — indirect
- @whatwg-node/promise-helpers@1.3.2 — indirect
- @whatwg-node/disposablestack@0.1.0 — indirect
- safe-buffer@5.2.1 — 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/4.0.1 — retrieved 2026-10-29T13:28:30.124Z
- 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/4.0.1 — retrieved 2026-10-29T13:28:30.740Z
- https://api.deps.dev/v3/systems/npm/packages/%40graphql-codegen%2Fcli/versions/4.0.1:dependencies — retrieved 2026-10-29T13:28:30.790Z