# @types/koa

> TypeScript definitions for koa

Latest version **3.0.3** (published 2026-05-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/koa
pnpm add @types/koa
yarn add @types/koa
bun add @types/koa
```

## Health

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

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 3.0.3 |
| Published | 2026-05-19 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 25.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51438 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/koa
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa
- npm.io page: https://npm.io/package/@types/koa

## Dependencies (8)

- [@types/node](https://npm.io/package/@types/node.md) *
- [@types/accepts](https://npm.io/package/@types/accepts.md) *
- [@types/cookies](https://npm.io/package/@types/cookies.md) *
- [@types/keygrip](https://npm.io/package/@types/keygrip.md) *
- [@types/http-assert](https://npm.io/package/@types/http-assert.md) *
- [@types/http-errors](https://npm.io/package/@types/http-errors.md) ^2
- [@types/koa-compose](https://npm.io/package/@types/koa-compose.md) *
- [@types/content-disposition](https://npm.io/package/@types/content-disposition.md) *

## Recent versions

- 3.0.3 (latest) — 2026-05-19
- 3.0.2 (ts5.2) — 2026-03-18
- 3.0.0 (ts5.1) — 2025-07-30
- 2.15.0 (ts4.8) — 2024-02-22
- 2.13.12 (ts4.5) — 2023-11-21
- 2.13.8 (ts4.3) — 2023-07-29
- 2.13.5 (ts4.0) — 2022-07-13
- 2.13.4 (ts3.9) — 2021-07-06
- 2.13.2 (ts3.5) — 2021-05-27
- 2.13.1 (ts3.4) — 2021-03-04
- 2.11.6 (ts3.3) — 2020-10-20
- 2.11.4 (ts3.0) — 2020-08-18
- 2.11.3 (ts2.9) — 2020-03-27
- 2.0.51 (ts2.5) — 2019-10-16
- 2.0.39 (ts2.1) — 2017-03-12
- … 50 more at https://npm.io/package/@types/koa/versions

## README

# Installation
> `npm install --save @types/koa`

# Summary
This package contains type definitions for koa (http://koajs.com).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa.

### Additional Details
 * Last updated: Tue, 19 May 2026 17:48:56 GMT
 * Dependencies: [@types/accepts](https://npmjs.com/package/@types/accepts), [@types/content-disposition](https://npmjs.com/package/@types/content-disposition), [@types/cookies](https://npmjs.com/package/@types/cookies), [@types/http-assert](https://npmjs.com/package/@types/http-assert), [@types/http-errors](https://npmjs.com/package/@types/http-errors), [@types/keygrip](https://npmjs.com/package/@types/keygrip), [@types/koa-compose](https://npmjs.com/package/@types/koa-compose), [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [jKey Lu](https://github.com/jkeylu), [Brice Bernard](https://github.com/brikou), [harryparkdotio](https://github.com/harryparkdotio), [Wooram Jun](https://github.com/chatoo2412), [Christian Vaagland Tellnes](https://github.com/tellnes), [Piotr Kuczynski](https://github.com/pkuczynski), and [vnoder](https://github.com/vnoder).

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