Module: js-data-http

Registered as js-data-http in NPM and Bower. The build of js-data-http that works on Node.js is registered in NPM as js-data-http-node. The build of js-data-http that does not bundle axios is registered in NPM and Bower as js-data-fetch.

Script tag:

window.HttpAdapter

CommonJS:

var HttpAdapter = require('js-data-http')

ES6 Modules:

import HttpAdapter from 'js-data-http'

AMD:

define('myApp', ['js-data-http'], function (HttpAdapter) { ... })
Source: