Skip to content

khrome/fetch-as-request

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

use fetch as if it were an instance of request

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published