bs-node
bs-node copied to clipboard
[Node.Fs] add `accessSync` and `copyFileSync` bindings, along with `Fs.Constants` module
Summary
- [x] Replace
nodeFs.mlwithnodeFs.re. (This one might be controversial -- so I'm expecting pushbacks here)- Most folks who try to use NodeJS are going to use ReasonML syntax -- this makes the binding more legible and approachable.
- ReasonML comes battery-included with
refmt, which makes the formatting consistent.
- [x] Add
accessSyncbinding toNode.Fs. - [x] Add
copyFileSyncbinding toNode.Fs. - [x] Add
Fs.Constantsmodule: https://nodejs.org/api/fs.html#fs_fs_constants_1