ga-fetch
v1.0.0
Published
Wrapper around whatwg-fetch and es6-promise
Readme
#ga-fetch
UMD Wrapper around whatwg-fetch window.fetch JavaScript and es6-promise ES6 Promise Polyfills.
##Installation
npm install ga-fetch --save##Usage
Just require in your module. Needed ES6 promises are automically included. The Fetch API is available via fetch(), see documentation.
require('ga-fetch');
// Use fetch as normally:
fetch( 'url', {
// options go here
});##Develop with Gulp
Use Git Flow, always work in develop branch.
- Install development dependencies:
npm install - Run
gulp watch - Work in
src/
Builds are now in dist/
