We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e16692c + ea55d7e commit 4cc5c5aCopy full SHA for 4cc5c5a
README.md
@@ -46,14 +46,18 @@ Help all ReScript Node.js apps and libraries to be built faster by reducing the
46
### Stream a file into stdout:
47
48
```rescript
49
+open NodeJs
50
+
51
Fs.createReadStream("/path")
- ->Stream.pipe(Process.(stdout(process)))
52
+ ->Stream.pipe(Process.stdout(Process.process))
53
->Stream.onError(_ => Js.log("handleError"))
54
```
55
56
### Echo server:
57
58
59
60
61
Http.createServer((request, response) => {
62
request->Stream.onData(data => Js.log(data))
63
request->Stream.pipe(response)->ignore
0 commit comments