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

relude-fetch

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

relude-fetch

Relude interop library for the fetch API

  • 0.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
19
increased by72.73%
Maintainers
1
Weekly downloads
 
Created
Source

relude-fetch

CircleCI npm

Relude interop library for the Browser Fetch API. This can also be used in Node.js using a polyfill like isomorphic-fetch.

This library basically wraps the bs-fetch Bucklescript library to lift any publicly-exposed Js.Promise.t('a) values into Relude.IO.t('a, Js.Promise.error) values. Using IO rather than Promise makes error handling 100% more explicit, allows for better composability with other effect and error types, and unlocks the full power of monads!

See the demo for example usage.

FAQs

Package last updated on 10 Jul 2019

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