# @graphiql/toolkit

> Utility to build a fetcher for GraphiQL

Latest version **0.12.1** (published 2026-06-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install @graphiql/toolkit
pnpm add @graphiql/toolkit
yarn add @graphiql/toolkit
bun add @graphiql/toolkit
```

## Health

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

Positive: has types; esm support; no vulnerabilities; has provenance; high quality score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.12.1 |
| Published | 2026-06-11 |
| First published | 2021-02-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 303.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| Maintainers | benjie, mjmahone, leebyron, i1g, acao |
| Keywords | graphql, graphiql |

## Links

- npm: https://www.npmjs.com/package/@graphiql/toolkit
- Repository: https://github.com/graphql/graphiql
- Homepage: https://github.com/graphql/graphiql/tree/master/packages/graphiql-toolkit#readme
- Issues: https://github.com/graphql/graphiql/issues?q=issue+label:@graphiql/toolkit
- npm.io page: https://npm.io/package/@graphiql/toolkit

## Dependencies (2)

- [meros](https://npm.io/package/meros.md) ^1.1.4
- [@n1ru4l/push-pull-async-iterable-iterator](https://npm.io/package/@n1ru4l/push-pull-async-iterable-iterator.md) ^3.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

- 0.12.1 (latest) — 2026-06-11
- 1.0.0-rc.0 (rc) — 2026-09-28
- 1.0.0-beta.2 (beta) — 2026-09-28
- 0.11.3-canary-7c239a40.0 (canary) — 2025-05-29
- 1.0.0-next.2 (next) — 2022-08-05
- 1.0.0-beta.1 — 2026-09-26
- 1.0.0-beta.0 — 2026-08-29
- 0.12.0 — 2026-05-11
- 0.11.3 — 2025-05-29
- 0.11.3-canary-f1400c3a.0 — 2025-05-26
- 0.11.3-canary-b05ed7ff.0 — 2025-05-26
- 0.11.3-canary-801926f3.0 — 2025-05-25
- 0.11.3-canary-1ba7d921.0 — 2025-05-25
- 0.11.3-canary-a173bad7.0 — 2025-05-20
- 0.11.3-canary-9bb08e5e.0 — 2025-05-20
- … 98 more at https://npm.io/package/@graphiql/toolkit/versions

## README

[Changelog](https://github.com/graphql/graphiql/blob/main/packages/graphql-toolkit/CHANGELOG.md)
|
[API Docs](https://graphiql-test.netlify.app/typedoc/modules/graphiql_toolkit.html)
| [NPM](https://www.npmjs.com/package/@graphiql/toolkit) |
[Discord](https://discord.gg/NP5vbPeUFp)

# `@graphiql/toolkit`

This is a general purpose library for building GraphQL IDEs. It's being used by
other packages like `graphiql` and `@graphiql/react` and also provides utilities
that are useful when working with these packages.

## Docs

- **[`createFetcher`](./docs/create-fetcher.md)** : a utility for creating a
  `fetcher` prop implementation for HTTP GET, POST including multipart,
  websockets fetcher
- more to come!

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