fetch-core

0.1.0-alpha.5 • Public • Published

Fetch

npm version

A fetch interface/functor for ReasonML/OCaml.

Description

A fetch interface and implementation based on the Fetch-specification from Whatwg. That said, it makes conscious trade-offs and decisions to fit the Reason/OCaml-ecosystem. It also takes inspiration and attempts to follow community-idioms and best practices with regards to HTTP-clients.

The goal is to be pluggable with any HTTP or Promise-implementation provided it conforms to the common interface.

See fetch-native-lwt for an example-implementation.

Credits

The implementation is largely inspired from @aantron's efforts in "Promisifying" luv.

/fetch-core/

    Package Sidebar

    Install

    npm i fetch-core

    Weekly Downloads

    1

    Version

    0.1.0-alpha.5

    License

    MIT

    Unpacked Size

    17.4 kB

    Total Files

    17

    Last publish

    Collaborators

    • lessp