Router middleware for Koa. Maintained by Forward Email and Lad.
app.get
, app.put
, app.post
, etc.)OPTIONS
requests with allowed methods405 Method Not Allowed
and 501 Not Implemented
async/await
support.use()
(or .get()
,
etc.), which matches Express 4 API.npm:
npm install @koa/router
npm install --save-dev @types/koa__router
See API Reference for more documentation.
| Name | | ---------------- | | Alex Mingoia | | @koajs | | Imed Jaberi |
MIT © Alex Mingoia