fetch-as-request
v1.0.0
Published
Use request but with polymorphic-request goodies
Downloads
3
Readme
fetch-as-request
Include request with an interface provided by polymorphic-request
Install
npm install fetch-as-request
Usage
ES5 Node.js
var request = require('fetch-as-request');
// use as you would request
ES5 Browser (Webpack/Browserify)
var request = require('fetch-as-request/browser');
// use as you would request
ES6 Node.js
import request from "fetch-as-request";
// use as you would request
ES6 Browser (Via Babel)
import request from "fetch-as-request/browser";
// use as you would request