File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11# rescript-nodejs
22
3- ----
3+ Node.js bindings for ReScript
44
55## Installation
66
@@ -20,7 +20,7 @@ Then add rescript-nodejs to `bsconfig.json`:
2020
2121## Goal of this library
2222
23- Help all Reason Node.js apps and libraries to be built faster by reducing the time spent on hand written bindings.
23+ Help all ReScript Node.js apps and libraries to be built faster by reducing the time spent on hand written bindings.
2424
2525## Non-Goals
2626
@@ -34,15 +34,15 @@ Help all Reason Node.js apps and libraries to be built faster by reducing the ti
3434
3535### Stream a file into stdout:
3636
37- ``` reason
37+ ``` rescript
3838Fs.createReadStream("/path")
3939 ->Stream.pipe(Process.(stdout(process)))
4040 ->Stream.onError(_ => Js.log("handleError"))
4141```
4242
4343### Echo server:
4444
45- ``` reason
45+ ``` rescript
4646Http.createServer((request, response) => {
4747 request->Stream.onData(data => Js.log(data))
4848 request->Stream.pipe(response)->ignore
You can’t perform that action at this time.
0 commit comments