Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including js-data-http with all npm packages installed. Try it out:

require("js-data/package.json"); // js-data is a peer dependency. var jsDataHttp = require("js-data-http")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

js-data-http v3.0.1

HTTP (XHR) adapter for js-data in the browser.

js-data logo

js-data-http

Slack Status npm version npm downloads Circle CI Coverage Status

This repo contains HTTP adapters for js-data:

  • js-data-http - HTTP (XHR, includes [axios][axios]) adapter for JSData in the browser. Capable of using window.fetch instead of axios. Only works in the browser.
  • js-data-fetch - Same as js-data-http but does not include axios and will use window.fetch if available and if you don't provide your own http library.
  • js-data-http-node - Same as js-data-http but runs on Node.js. Depends on axios and will use axios unless you provide a different http library.

Tested on IE9, Chrome 46, Firefox 41 & Safari 7.1 using bs logo

To get started, visit the main website at __http://js-data.io__.

Links

License

The MIT License (MIT)

Copyright (c) 2014-2016 js-data-http project authors

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free