1.0.1 • Published 5 years ago

reactive-fetch v1.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

Build Status tested with jest jest

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.