Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

http-duplex

0.0.2 • Public • Published

http-duplex

Turn (req,res) pairs into a single readable/writable stream.

build status

example

methods

var httpDuplex = require('http-duplex')

var dup = httpDuplex(req, res)

Return a new readable/writable duplex stream dup from the http request req and http response res.

dup has all the same methods has both req and res, but on a single object.

install

With npm do:

npm install http-duplex

license

MIT

Keywords

none

install

npm i http-duplex

Downloadsweekly downloads

2,138

version

0.0.2

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability