Skip to content

UniversityofWarwick/js-serverpipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server Pipe Build Status

This is a basic wrapper for fetch() that we use to make authenticated requests back to the application server.

Browser support

IE11 will require the following polyfill to enable NodeList.prototype.forEach, Promise, fetch and URL to work:

import 'core-js/modules/web.dom-collections.for-each';
import 'core-js/features/promise';
import 'whatwg-fetch'

You will need:

npm i --save core-js@3.1.3

npm i --save url-polyfill@1.1.7

npm i --save whatwg-fetch@3.0.0