# @types/koa-dec-router

> TypeScript definitions for koa-dec-router

Latest version **0.0.2** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 45/100 (D)** — status: abandoned.

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

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2023-11-07 |
| First published | 2019-07-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51446 |
| Maintainers | types |

## Links

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

## Recent versions

- 0.0.2 (latest) — 2023-11-07
- 0.0.0 (ts2.7) — 2019-07-10
- 0.0.1 — 2023-10-18

## README

# Installation
> `npm install --save @types/koa-dec-router`

# Summary
This package contains type definitions for koa-dec-router (https://github.com/zaaack/koa-dec-router).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-dec-router.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-dec-router/index.d.ts)
````ts
export const CTRL_PATH: symbol;

export const MIDDLEWARES: symbol;

export const OPTIONS: symbol;

export const ROUTES: symbol;

export function controller(path: any, opts?: any, ...args: any[]): any;

export function route(method: string, path: any, opts?: any, ...args: any[]): any;

export function get(...args: any[]): any;

export function head(...args: any[]): any;

export function patch(...args: any[]): any;

export function post(...args: any[]): any;

export function put(...args: any[]): any;

export function del(...args: any[]): any;

export function all(...args: any[]): any;

export default function(opts: any): any;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:38 GMT
 * Dependencies: none

# Credits
These definitions were written by [Yerden Kembayev](https://github.com/aarystan).

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