Socket
Book a DemoInstallSign in
Socket

duplexer

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

duplexer

Creates a duplex stream

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

duplexer

build status dependency status

browser support

Creates a duplex stream

Taken from event-stream

duplex (writeStream, readStream)

Takes a writable stream and a readable stream and makes them appear as a readable writable stream.

It is assumed that the two streams are connected to each other in some way.

Example

var cp = require('child_process')
  , duplex = require('duplexer')
  , grep = cp.exec('grep Stream')

duplex(grep.stdin, grep.stdout)

Installation

npm install duplexer

Tests

npm test

Contributors

  • Dominictarr
  • Raynos
  • samccone

MIT Licenced

FAQs

Package last updated on 12 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts