@hoajs/adapter
v0.1.0
Published
Adapters for Hoa.
Readme
@hoajs/adapter
Adapters for Hoa.
Installation
$ npm i @hoajs/adapter --saveQuick Start
import { Hoa } from 'hoa'
import { nodeServer } from '@hoajs/adapter'
const app = new Hoa()
app.extend(nodeServer())
app.use(async (ctx, next) => {
ctx.res.body = `Hello, Hoa!`
})
app.listen(3000)Documentation
The documentation is available on hoa-js.com
Test (100% coverage)
$ npm testLicense
MIT
