forked from daren.hsu/line_push
update
This commit is contained in:
+3
-1
@@ -17,7 +17,9 @@ It is assumed that the two streams are connected to each other in some way.
|
||||
## Example
|
||||
|
||||
```js
|
||||
var grep = cp.exec('grep Stream')
|
||||
var cp = require('child_process')
|
||||
, duplex = require('duplexer')
|
||||
, grep = cp.exec('grep Stream')
|
||||
|
||||
duplex(grep.stdin, grep.stdout)
|
||||
```
|
||||
|
||||
+13
-18
@@ -1,32 +1,32 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"duplexer@0.1.1",
|
||||
"/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series"
|
||||
"duplexer@0.1.2",
|
||||
"/home/node/nuxt"
|
||||
]
|
||||
],
|
||||
"_from": "duplexer@0.1.1",
|
||||
"_id": "duplexer@0.1.1",
|
||||
"_from": "duplexer@0.1.2",
|
||||
"_id": "duplexer@0.1.2",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=",
|
||||
"_integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==",
|
||||
"_location": "/duplexer",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "duplexer@0.1.1",
|
||||
"raw": "duplexer@0.1.2",
|
||||
"name": "duplexer",
|
||||
"escapedName": "duplexer",
|
||||
"rawSpec": "0.1.1",
|
||||
"rawSpec": "0.1.2",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "0.1.1"
|
||||
"fetchSpec": "0.1.2"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/gzip-size"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz",
|
||||
"_spec": "0.1.1",
|
||||
"_where": "/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series",
|
||||
"_resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz",
|
||||
"_spec": "0.1.2",
|
||||
"_where": "/home/node/nuxt",
|
||||
"author": {
|
||||
"name": "Raynos",
|
||||
"email": "raynos2@gmail.com"
|
||||
@@ -47,12 +47,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/Raynos/duplexer",
|
||||
"keywords": [],
|
||||
"licenses": [
|
||||
{
|
||||
"type": "MIT",
|
||||
"url": "http://github.com/Raynos/duplexer/raw/master/LICENSE"
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index",
|
||||
"name": "duplexer",
|
||||
"repository": {
|
||||
@@ -77,5 +72,5 @@
|
||||
"iphone/6.0..latest"
|
||||
]
|
||||
},
|
||||
"version": "0.1.1"
|
||||
"version": "0.1.2"
|
||||
}
|
||||
|
||||
+1
-1
@@ -27,5 +27,5 @@ test("emit and write", function(t) {
|
||||
readable.emit("data")
|
||||
|
||||
t.equal(written, 1, "should have written once")
|
||||
t.equal(data, 1, "should have recived once")
|
||||
t.equal(data, 1, "should have received once")
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user