1.0.3 • Published 7 years ago

fetch-once-q v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

Setup

yarn add fetch-once-q

or

npm install --save fetch-once-q

Use

import { json as fetchJSON } from 'fetch-once-q';

fetchJSON('http://api.mysite.com/products/1').then(r=>console.log(r));
fetchJSON('http://api.mysite.com/products/1').then(r=>console.log(r));

// Check the Network tab in the dev tools.
1.0.3

7 years ago

1.0.2

7 years ago

1.0.0

7 years ago