@rh-support/api
v0.3.25
Published
Contains all the backend API calls
Downloads
22
Keywords
Readme
api
TODO: description
Usage
use library
const api = require('api');
// TODO: DEMONSTRATE API
browser support
This library is uses fetch abort. For the browsers that don't support it you need to install polyfill in your app:
npm i abortcontroller-polyfill
and import the lib in your app:
import 'abortcontroller-polyfill/dist/abortcontroller-polyfill-only';
This library uses ES6 object assign. For the libraries that don't support it you need to install polyfill in your app:
npm i es6-object-assign
and import the lib in your app:
import 'es6-object-assign/auto';
This library uses fetch. For the libraries that don't support it you need to install polyfill in your app:
`npm i whatwg-fetch` and import the lib in your app: `import 'whatwg-fetch';`