Promised JSON XHR.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.jshintrc
README.md
component.json
index.js
package.json

README.md

xhr-json

Promised JSON XHR.

Installation

$ npm install xhr-json

or

$ component install nathan7/xhr-json

API

xhrJson(url, options)

xhrJson(options)

Fetches the given URL (with the given options), parses the response as JSON, and returns that (as a promise). See nathan7/xhr for the options object.

License

MIT