node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org ยป

xhr-json

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