@hoajs/powered-by
v0.1.0
Published
PoweredBy middleware for Hoa.
Downloads
23
Readme
@hoajs/powered-by
PoweredBy middleware for Hoa.
Installation
$ npm i @hoajs/powered-by --saveQuick Start
import { Hoa } from 'hoa'
import { poweredBy } from '@hoajs/powered-by'
const app = new Hoa()
app.use(poweredBy('MyApp'))
app.use(async (ctx) => {
ctx.res.body = `Hello, Hoa!`
})
export default appDocumentation
The documentation is available on hoa-js.com
Test (100% coverage)
$ npm testLicense
MIT
