# @graphql-tools/federation

> Useful tools to create and manipulate GraphQL schemas.

Latest version **4.5.1** (published 2026-09-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install @graphql-tools/federation
pnpm add @graphql-tools/federation
yarn add @graphql-tools/federation
bun add @graphql-tools/federation
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 4.5.1 |
| Published | 2026-09-11 |
| First published | 2023-04-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=20.0.0 |
| Dependencies | 14 |
| Unpacked size | 338.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 118 |
| Maintainers | dotansimha, urigo, ardatan, enisdenjo, theguild-bot |

## Links

- npm: https://www.npmjs.com/package/@graphql-tools/federation
- Repository: https://github.com/graphql-hive/gateway
- npm.io page: https://npm.io/package/@graphql-tools/federation

## Dependencies (14)

- [tslib](https://npm.io/package/tslib.md) ^2.8.1
- [@whatwg-node/fetch](https://npm.io/package/@whatwg-node/fetch.md) ^0.10.13
- [@graphql-tools/wrap](https://npm.io/package/@graphql-tools/wrap.md) ^11.2.0
- [@whatwg-node/events](https://npm.io/package/@whatwg-node/events.md) ^0.1.2
- [@graphql-tools/merge](https://npm.io/package/@graphql-tools/merge.md) ^9.2.4
- [@graphql-tools/utils](https://npm.io/package/@graphql-tools/utils.md) ^12.0.1
- [@graphql-tools/schema](https://npm.io/package/@graphql-tools/schema.md) ^10.1.1
- [@graphql-tools/stitch](https://npm.io/package/@graphql-tools/stitch.md) ^10.3.0
- [@graphql-tools/delegate](https://npm.io/package/@graphql-tools/delegate.md) ^12.2.0
- [@graphql-tools/executor](https://npm.io/package/@graphql-tools/executor.md) ^2.0.1
- [@graphql-tools/executor-http](https://npm.io/package/@graphql-tools/executor-http.md) ^3.4.1
- [@whatwg-node/disposablestack](https://npm.io/package/@whatwg-node/disposablestack.md) ^0.0.6
- [@whatwg-node/promise-helpers](https://npm.io/package/@whatwg-node/promise-helpers.md) ^1.3.2
- [@graphql-yoga/typed-event-target](https://npm.io/package/@graphql-yoga/typed-event-target.md) ^3.0.2

## Recent versions

- 4.5.1 (latest) — 2026-09-11
- 4.5.1-rc-e1e3a1170a0847a00d4673376178525f92abf760 (rc) — 2026-09-11
- 4.5.1-alpha-bdaf58055541ac4be711541d8853b1da29c55f59 (alpha) — 2026-09-11
- 4.2.9-local-6bcca2bc60aea3f017e008bd95b91f282608f123 (local) — 2026-02-02
- 4.2.2-hive-router-query-planner-3f85b7ca1bf4c6562a359d35016623cab61746b0 (hive-router-query-planner) — 2025-11-07
- 4.0.0-next-38d601a82253147a4bfe657c7eee418d25c183b6 (next) — 2025-09-04
- 4.5.1-rc-2c59234b69d3c5864a49d5b9f93d718e60b466c8 — 2026-09-11
- 4.5.0 — 2026-09-08
- 4.5.0-alpha-ab9c6ad06eb6cb354994a3aa1f468e3e204e2934 — 2026-09-08
- 4.4.16-alpha-8f117bcbea98536ce3233d8bc38febf5e9a2ebe5 — 2026-09-08
- 4.4.15 — 2026-09-07
- 4.4.15-rc-6c4b47c9f74a67379174853cbae683b8090bbe61 — 2026-09-07
- 4.4.15-rc-d0de842d7abc9205f7d10ab6ad34f722b5c814f2 — 2026-09-07
- 4.4.15-rc-422278ece8de122aef8c0f78282aaf6ab0a3a68e — 2026-09-07
- 4.4.15-alpha-d9a94e4a807973b67b8d3d1c205cd4afb695ca49 — 2026-09-07
- … 3520 more at https://npm.io/package/@graphql-tools/federation/versions

## README

![Hive GraphQL Platform](https://the-guild.dev/graphql/hive/github-org-image.png)

# Hive Gateway

A fully open-source MIT-licensed GraphQL API gateway that can act as a [GraphQL federation](https://the-guild.dev/graphql/hive/federation) Gateway or a Proxy Gateway for any GraphQL services.

It can be run as a standalone binary, a Docker Image, or as a JavaScript package (e.g. within Node.js, Bun, Deno, Google Cloud Functions, Azure Functions or Cloudflare Workers)

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