Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lessp/fetch

Fetch libraries/interface for Reason/OCaml
https://github.com/lessp/fetch

fetch reasonml

Last synced: 30 days ago
JSON representation

Fetch libraries/interface for Reason/OCaml

Awesome Lists containing this project

README

        

# Fetch

[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)

Fetch libraries and interface for ReasonML/OCaml.

Fetch aims to provide a common interface over different HTTP and Promise-implementations in the ReasonML/OCaml ecosystem.

> A note is that Fetch is still in a phase where we're figuring out the API. In other words, the API
> may change and input is welcome!

## [Fetch Core](./src/fetch-core)

Provides a functor for creating and providing your own Fetch-implementation. The goal is to be pluggable with any HTTP or Promise-implementation provided it conforms to the common interface.

## [Fetch Native Lwt](./src/fetch-native-lwt)

![Windows](https://github.com/lessp/fetch/workflows/Windows/badge.svg)
![macOS](https://github.com/lessp/fetch/workflows/macOS/badge.svg)
![Ubuntu](https://github.com/lessp/fetch/workflows/Ubuntu/badge.svg)

A consumable fetch-library for ReasonML/OCaml native. Uses `Lwt` for its `Promise`-implementation.

To install, add the library to your esy-manifest, like so:

```json
{
"dependencies": {
"fetch-native-lwt": "lessp/fetch:fetch-native-lwt.json"
}
}
```

or, to point to a specific commit:

```json
"fetch-native-lwt": "lessp/fetch:fetch-native-lwt.json#"
```

## Contributing

Feel free to open an issue and/or grabbing one of the [open issues](https://github.com/lessp/reason-fetch/issues).

## Contributors


Tom Ekander
Tom Ekander

💻 🤔 📖
Et7f3
Et7f3

💻 🤔 👀
Ulrik Strid
Ulrik Strid

💻 🤔 👀
Leandro Ostera
Leandro Ostera

🤔

This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!

## License

This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details