@qiwi/mware-crumbs
v1.14.1
Published
XF* proxying middleware
Downloads
33
Keywords
Readme
@qiwi/mware-crumbs
X-Forwarded-* proxying middleware
Install
yarn add @qiwi/mware-crumbs
npm i @qiwi/mware-crumbs
Usage
import crumbs from '@qiwi/mware-crumbs'
import express from 'express'
import request from 'request'
const app = express()
app.use(crumbs())
app.get('/foo/bar', (req, res) => {
req.pipe(request({...})).pipe(res)
})
app.listen(...)
License
MIT