koa-kane-error
v0.1.3
Published
Koa middleware to handle errors for the Kane API
Downloads
10
Maintainers
Readme
Koa Kane Error
The simplest Koa error handler you'll ever seen.
Requirements
You need to execute node
version 8.x
at least (async/await
).
Installation
# npm
npm install --save koa-kane-error
# yarn
yarn add koa-kane-error
Usage
const Koa = require("koa");
const kaneError = require("koa-kane-error");
const app = new Koa();
app.use(kaneError);
Linting
Made using eslint
. To enforce rules to be applied, use yarn lint:fix
.