Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 310 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 310 Bytes

koa-p0f

Koa p0f middleware

Installation

$ npm install koa-p0f

Example

const p0f = require('koa-p0f')
const Koa = require('koa')
const app = new Koa()

app.use(p0f())

app.use((ctx) => {
    // ctx.response.header now contains p0f headers
})

License

MIT - See LICENSE file.