3.1.0 • Published 5 years ago

@eolme/fetchit v3.1.0

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

fetchit Version Badge

Size Downloads Build Status Greenkeeper License Fetchit

Promise based HTTP client with compatible API.

Installation

npm install @eolme/fetchit --save

Note: You will also need a Promise polyfill for older browsers.

Usage

API

Soon.

Importing

Simple importing fetchit function:

import { fetchit } from '@eolme/fetchit';

fetchit('npmjs.com').then((response) => {
    console.log(response);
});

If for some reason you need to access the fetchit function with another name, it is available via exports:

import fetch from '@eolme/fetchit';

fetch('npmjs.com').then((response) => {
    console.log(response);
});

This approach can be used to, for example, use as replacement for original fetch function.

3.1.0

5 years ago

3.0.0

5 years ago

2.1.0

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.2.0

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago