# @types/koa-ignore

> TypeScript definitions for koa-ignore

Latest version **1.0.4** (published 2024-10-07) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 55/100 (C)** — status: stable.

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

Warnings: low downloads; no esm support.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2024-10-07 |
| First published | 2020-09-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51443 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 1.0.4 (latest) — 2024-10-07
- 1.0.3 (ts4.7) — 2023-11-07
- 1.0.0 (ts3.3) — 2020-09-30
- 1.0.2 — 2023-10-18
- 1.0.1 — 2023-09-14

## README

# Installation
> `npm install --save @types/koa-ignore`

# Summary
This package contains type definitions for koa-ignore (https://github.com/smcmurray/koa-ignore#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-ignore.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-ignore/index.d.ts)
````ts
import { Context, Middleware } from "koa";

declare function koaIgnore(
    ...middleware: Middleware[]
): {
    if(condition: (context: Context) => boolean): Middleware;
    unless(condition: (context: Context) => boolean): Middleware;
};

export = koaIgnore;

````

### Additional Details
 * Last updated: Mon, 07 Oct 2024 22:38:10 GMT
 * Dependencies: [@types/koa](https://npmjs.com/package/@types/koa)

# Credits
These definitions were written by .

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