# apollo-server-koa

> Production-ready Node.js GraphQL server for Koa

Latest version **3.13.0** (published 2023-11-14) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install apollo-server-koa
pnpm add apollo-server-koa
yarn add apollo-server-koa
bun add apollo-server-koa
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 3.13.0 |
| Published | 2023-11-14 |
| First published | 2017-07-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=12.0 |
| Dependencies | 11 |
| Unpacked size | 23.1 KB |
| Known vulnerabilities | 0 (+2 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 13952 |
| Author | Apollo |
| Maintainers | apollo-bot |
| Keywords | GraphQL, Apollo, Server, Koa, Javascript |

## Links

- npm: https://www.npmjs.com/package/apollo-server-koa
- Repository: https://github.com/apollographql/apollo-server
- Homepage: https://github.com/apollographql/apollo-server#readme
- Issues: https://github.com/apollographql/apollo-server/issues
- npm.io page: https://npm.io/package/apollo-server-koa

## Dependencies (11)

- [accepts](https://npm.io/package/accepts.md) ^1.3.7
- [@koa/cors](https://npm.io/package/@koa/cors.md) ^3.1.0
- [@types/koa](https://npm.io/package/@types/koa.md) ^2.11.6
- [koa-compose](https://npm.io/package/koa-compose.md) ^4.1.0
- [@types/accepts](https://npm.io/package/@types/accepts.md) ^1.3.5
- [koa-bodyparser](https://npm.io/package/koa-bodyparser.md) ^4.3.0
- [@types/koa__cors](https://npm.io/package/@types/koa__cors.md) ^3.0.1
- [@types/koa-compose](https://npm.io/package/@types/koa-compose.md) ^3.2.5
- [apollo-server-core](https://npm.io/package/apollo-server-core.md) ^3.13.0
- [apollo-server-types](https://npm.io/package/apollo-server-types.md) ^3.8.0
- [@types/koa-bodyparser](https://npm.io/package/@types/koa-bodyparser.md) ^4.3.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

- 3.13.0 (latest) — 2023-11-14
- 2.26.2 (v2) — 2023-08-30
- 3.6.0-alpha.1 (alpha) — 2021-12-28
- 3.2.0 (next) — 2021-08-23
- 3.0.0-rc.1 (rc) — 2021-07-02
- 3.0.0-preview.4 (preview) — 2021-06-30
- 3.0.0-html.2 (html) — 2021-05-25
- 3.0.0-lambda.0 (alphalambda) — 2021-05-13
- 2.23.1-unified2.3 (unified) — 2021-04-27
- 3.0.0-alpha.3 (next-v3) — 2020-08-12
- 3.12.1 — 2023-08-30
- 3.12.0 — 2023-03-02
- 3.11.1 — 2022-11-03
- 3.11.0 — 2022-11-02
- 3.10.4 — 2022-10-31
- … 280 more at https://npm.io/package/apollo-server-koa/versions

## README

[![npm version](https://badge.fury.io/js/apollo-server-koa.svg)](https://badge.fury.io/js/apollo-server-koa)
[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)
[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)
[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)


This is the Koa integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)

A full example of how to use `apollo-server-koa` can be found in [the docs](https://www.apollographql.com/docs/apollo-server/integrations/middleware/#apollo-server-koa).


## Principles

GraphQL Server is built with the following principles in mind:

- **By the community, for the community**: GraphQL Server's development is driven by the needs of developers
- **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure
- **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed

Anyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!

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