lipo-koa
Lipo middleware for Lad and Koa
Table of Contents
Install
npm:
npm install lipo-koa
yarn:
yarn add lipo-koa
Usage
const Koa = ;const multer = ;const bytes = ;const errorHandler = ;const lipoKoa = ; const app = ; const upload = ;app; // override koa's undocumented error handlerappcontextonerror = errorHandler; // specify that this is our apiappcontextapi = true; // use lipo's koa middlewareapp; // start serverapp;
Contributors
Name | Website |
---|---|
Nick Baugh | http://niftylettuce.com/ |