# @types/koa__cors

> TypeScript definitions for @koa/cors

Latest version **5.0.1** (published 2025-10-24) · MIT license · 0 weekly downloads

## Install

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

## Health

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

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

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 5.0.1 |
| Published | 2025-10-24 |
| First published | 2017-10-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51426 |
| Maintainers | types |

## Links

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

## Dependencies (1)

- [@types/koa](https://npm.io/package/@types/koa.md) *

## Recent versions

- 5.0.1 (latest) — 2025-10-24
- 5.0.0 (ts5.1) — 2023-12-27
- 4.0.3 (ts4.5) — 2023-11-07
- 4.0.0 (ts4.3) — 2023-03-13
- 3.3.0 (ts3.9) — 2022-04-18
- 3.1.1 (ts3.8) — 2021-12-24
- 3.0.3 (ts3.6) — 2021-07-06
- 3.0.2 (ts3.4) — 2020-09-26
- 3.0.1 (ts3.0) — 2020-01-15
- 2.2.3 (ts2.4) — 2018-07-30
- 2.2.1 (ts2.1) — 2017-10-09
- 4.0.2 — 2023-10-18
- 4.0.1 — 2023-09-14
- 3.3.1 — 2023-02-15
- 3.1.0 — 2021-12-10
- … 3 more at https://npm.io/package/@types/koa__cors/versions

## README

# Installation
> `npm install --save @types/koa__cors`

# Summary
This package contains type definitions for @koa/cors (https://github.com/koajs/cors).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa__cors.

### Additional Details
 * Last updated: Fri, 24 Oct 2025 04:02:41 GMT
 * Dependencies: [@types/koa](https://npmjs.com/package/@types/koa)

# Credits
These definitions were written by [Xavier Stouder](https://github.com/Xstoudi), and [Steven McDowall](https://github.com/sjmcdowall).

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