koa-captor
Installation
npm install --save koa-captor
Usage
const Koa = const Joi = const Router = const captor = const app = const router = const middleware1 = async { console await } const middleware2 = async { console await } router
Other ways to use the handler method:
{ return hello: "world" }
{ return response}
{ return responsecode404}