koa-trace-page
v0.0.5
Published
a trace page for koa <div align="center"> <img src="https://github.com/czewail/koa-trace-page/blob/master/page.png" style="width: 100%;"> </div>
Downloads
6
Readme
koa-trace-page
a trace page for koa
Installation
$ npm install --save koa-trace-page
Usage
const tracePage = require('koa-trace-page')
async function (ctx next) {
try {
await next()
} catch (err) {
return tracePage(err, ctx, [options])
}
}
options
options.logo
:render
String in html, ex:<span>Daze.js</span>
more...