koa-unless
koa-unless copied to clipboard
Conditionally add a middleware to koa with some common patterns
### @types/koa-unless Not available in yarn package manager Getting below error when trying to do `yarn add --dev @types/koa-unless` Error : `error An unexpected error occurred: "https://registry.yarnpkg.com/@types%2fkoa-unless: Not found".`
Hi, I need help how to use koa-unless in typescript, based on Koa Middleware structure recomendation at: [https://github.com/koajs/koa/blob/master/docs/guide.md#middleware-options](https://github.com/koajs/koa/blob/master/docs/guide.md#middleware-options) , I have following middleware structure: ``` import * as Koa from...
How do you / can you create complex unless clauses? like: `\/(?!api)` => require authentication on the entire /api/ URI node but then additionally `GET` `/api/Foo/*` => don't require authentication...
@brunokrebs Why the package.json says 0.0.1?