reactive-fetch

1.0.1 • Public • Published

Build Status License: MIT npm version 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.

/reactive-fetch/

    Package Sidebar

    Install

    npm i reactive-fetch

    Weekly Downloads

    8

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    161 kB

    Total Files

    13

    Last publish

    Collaborators

    • thearavind