Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fp-ts-node

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fp-ts-node

fp-ts bindings for the Node.js

  • 5.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
increased by250%
Maintainers
1
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 13 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc