# @graphql-codegen/core

Latest version **6.2.0** (published 2026-07-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @graphql-codegen/core
pnpm add @graphql-codegen/core
yarn add @graphql-codegen/core
bun add @graphql-codegen/core
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; popular repo.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 6.2.0 |
| Published | 2026-07-06 |
| First published | 2019-03-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=16 |
| Dependencies | 4 |
| Unpacked size | 40.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 11261 |
| Author | Dotan Simha <dotansimha@gmail.com> |
| Maintainers | dotansimha, ardatan, kamilkisiela, urigo, theguild-bot |
| Keywords | gql, generator, code, types, interfaces, graphql, codegen, apollo, node, typescript, ts, flow, types, d.ts, typings |

## Links

- npm: https://www.npmjs.com/package/@graphql-codegen/core
- Repository: https://github.com/dotansimha/graphql-code-generator
- Homepage: https://github.com/dotansimha/graphql-codegen#readme
- npm.io page: https://npm.io/package/@graphql-codegen/core

## Dependencies (4)

- [tslib](https://npm.io/package/tslib.md) ^2.8.0
- [@graphql-tools/utils](https://npm.io/package/@graphql-tools/utils.md) ^11.2.0
- [@graphql-tools/schema](https://npm.io/package/@graphql-tools/schema.md) ^10.0.0
- [@graphql-codegen/plugin-helpers](https://npm.io/package/@graphql-codegen/plugin-helpers.md) ^7.1.0

## Alternatives

- [apollo-link-http-common](https://npm.io/package/apollo-link-http-common.md) — 879.0K weekly downloads
- [react-relay](https://npm.io/package/react-relay.md) — 336.8K weekly downloads
- [relay-test-utils](https://npm.io/package/relay-test-utils.md) — 181.6K weekly downloads
- [@vendure/core](https://npm.io/package/@vendure/core.md) — 14.8K weekly downloads
- [@pnpm/deps.graph-sequencer](https://npm.io/package/@pnpm/deps.graph-sequencer.md) — 13.4K weekly downloads

## Recent versions

- 6.2.0 (latest) — 2026-07-06
- 6.2.0-alpha-20260706131902-30ccf8e97c7aaa696488caa1b30d4ea70d9e6213 (alpha) — 2026-07-06
- 4.0.2-rc-20240206142827-ab786c9ddd52385c10ac46e7c80a11d44cad619f (rc) — 2024-02-06
- 1.17.5-alpha-6dc6a6ed.0 (canary) — 2020-07-27
- 6.2.0-alpha-20260706115540-218d46ac54100ede5f16a599a4fdc4724c476597 — 2026-07-06
- 6.1.1-alpha-20260706114607-dfb67acc06483c9aabcc5ede404d7f5327086d60 — 2026-07-06
- 6.1.1-alpha-20260706105241-3de10ec4f3375e2a04ae89c71f5149909fe1dbbe — 2026-07-06
- 6.1.1-alpha-20260706105013-4378811d5d80ace8f4f2252d715a9ea56e16c4ad — 2026-07-06
- 6.1.1-alpha-20260706100712-200b55e0bc09de8d3e03b945f5ab57f119dfbf0e — 2026-07-06
- 6.1.1-alpha-20260706100445-26fa6516d5193ab4e1a3ccb82b4eab51712eb2ac — 2026-07-06
- 6.1.1-alpha-20260625140734-1ad8f133387ecf5e348a737d91b1a2e22bcfab4f — 2026-06-25
- 6.1.1-alpha-20260603142609-c200bb102ff19a966cbef664cd4b5bef49c7aff0 — 2026-06-03
- 6.1.0 — 2026-05-27
- 6.1.0-alpha-20260527141523-d4a0c653a7fe5e47d61f722aa881d93f2e5302fc — 2026-05-27
- 6.0.1 — 2026-05-27
- … 5060 more at https://npm.io/package/@graphql-codegen/core/versions

## README

# GraphQL Code Generator

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

Live demo and full documentation:
[the-guild.dev/graphql/codegen](https://the-guild.dev/graphql/codegen)

Project repository: [graphql-code-generator](https://github.com/dotansimha/graphql-code-generator)

---
_Source: https://npm.io/package/@graphql-codegen/core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
