from-node-stream
Advanced tools
+5
-6
@@ -1,2 +0,1 @@ | ||
| import DIE from "phpdie"; | ||
| import { mergeStream } from "sflow"; // TODO: tree shake sflow | ||
@@ -16,4 +15,4 @@ import { Readable, Writable } from "stream"; | ||
| return { | ||
| writable: fromWritable(p.stdin || DIE("Missing stdin")), | ||
| readable: fromReadable(p.stdout || DIE("Missing stdout")), | ||
| writable: fromWritable(p.stdin!), | ||
| readable: fromReadable(p.stdout!), | ||
| }; | ||
@@ -31,5 +30,5 @@ } | ||
| ): TransformStream<string | Uint8Array, string | Uint8Array> { | ||
| const stdin = fromWritable(p.stdin || DIE("Missing stdin")); | ||
| const stdout = fromReadable(p.stdout || DIE("Missing stdout")); | ||
| const stderr = fromReadable(p.stderr || DIE("Missing stderr")); | ||
| const stdin = fromWritable(p.stdin!); | ||
| const stdout = fromReadable(p.stdout!); | ||
| const stderr = fromReadable(p.stderr!); | ||
| return { | ||
@@ -36,0 +35,0 @@ writable: stdin, |
+1
-1
| { | ||
| "name": "from-node-stream", | ||
| "version": "0.0.7", | ||
| "version": "0.0.8", | ||
| "description": "convert nodejs-stream into webstream", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
93766
-0.71%3012
-0.5%