@hoajs/etag
v0.1.2
Published
ETag middleware for Hoa.
Downloads
10
Readme
@hoajs/etag
ETag middleware for Hoa.
Installation
$ npm i @hoajs/etag --saveQuick Start
import { Hoa } from 'hoa'
import { etag } from '@hoajs/etag'
const app = new Hoa()
app.use(etag())
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
