likit
v0.1.9
Published
Realtime request/response monitoring middleware for Koa, Koa2 and Express
Downloads
7
Maintainers
Readme
likit
Realtime request/response monitoring middleware for Koa, Koa2 and Express
Added basic auth support.
install
npm i likit@latest -S
koa
app.use(likit.koa({
app,
port: 3001, // default
username: 'admin', // default
password: 'admin' // default
}))
koa2
app.use(likit.koa2({
app,
port: 3001, // default
username: 'admin', // default
password: 'admin' // default
}))
express
app.use(likit.express({
app,
port: 3001, // default
username: 'admin', // default
password: 'admin' // default
}))