Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use duplexer

  • Loading branch information...
commit a5708529cacd0828271c8632092bd1877882d3e8 1 parent 0e2ddc0
@Raynos Raynos authored
Showing with 5 additions and 1 deletion.
  1. +4 −1 index.js
  2. +1 −0  package.json
View
5 index.js
@@ -8,10 +8,13 @@
var Stream = require('stream').Stream
, es = exports
, through = require('through')
+ , from = require('from')
+ , duplex = require('duplexer')
es.Stream = Stream //re-export Stream from core
es.through = through.through
-es.from = through.from
+es.from = from
+es.duplex = duplex
// buffered
//
View
1  package.json
@@ -10,6 +10,7 @@
"dependencies": {
"optimist": "0.2",
"through": "0.0.4",
+ "duplexer": "0.0.1",
"from": "~0"
},
"devDependencies": {
Please sign in to comment.
Something went wrong with that request. Please try again.