6.0.0 • Published 2 years ago

fp-ts-node v6.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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.

  • Add exports import { path as fs, fd as fs, bf as fs} from "fp-ts-node/fs", so users can specify onto file descriptor, path or buffer value API's.
  • NodeJS Versioning:
    • Version to NodeJS based on latest version number @types/node@^{14,16}.
    • Export as import { fs } from "fp-ts-node/14".
    • Export LTS (currently 14) to import { fs } from "fp-ts-node by default.
5.3.1

2 years ago

6.0.0

2 years ago

5.3.0

2 years ago

5.2.0

2 years ago

5.1.0

2 years ago

5.0.0

3 years ago

4.4.0

3 years ago

4.3.0

3 years ago

4.2.1

3 years ago

4.2.0

3 years ago

4.1.0

3 years ago

4.0.0

3 years ago

3.1.0

3 years ago

3.0.0

3 years ago

2.3.0

3 years ago

2.2.0

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago