fp-ts-node
fp-ts bindings for NodeJS.
Currently only export fs
module, but there's more to come.
File Systems (fs
)
For the fs
module, every API requires a path. Most API's can take options and some take data too.
The order of functions are curried as follows where possible. Calls and parameters are removed where possible.
type OurFunction = (
...parameters: Array<unknown>,
options?: {}
) => (data: unknown) => ReaderTaskEither<fs.PathLike, NodeJS.ErrnoException, A>;
Upcoming
If you're looking forward to any of these features, please advise in the discussions tab.
This way we can justify our work with demand.