1.0.1 • Published 5 years ago
reactive-fetch v1.0.1
REACTIVE FETCH
A wrapper around native fetch api which follows RxJs observer pattern
Getting started
Install reactive fetch via npm
npm install reactive-fetch
or using Yarn
yarn add reactive-fetch
Example
import fetch from 'reactive-fetch'
fetch("http://127.0.0.1:8080/users").subscribe(
(next) => console.log("Response", next),
(error) => console.log("Error", error)
)
Contributions
New ideas and contributions to the project are welcomed, feel free to create PR's and to open issues if something needs to be changed.