JSPM

@hoajs/powered-by

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q36908F
  • License MIT

PoweredBy middleware for Hoa.

Package Exports

  • @hoajs/powered-by

Readme

@hoajs/powered-by

PoweredBy middleware for Hoa.

Installation

$ npm i @hoajs/powered-by --save

Quick 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 app

Documentation

The documentation is available on hoa-js.com

Test (100% coverage)

$ npm test

License

MIT