xhr-json

2.2.5 • Public • Published

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

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i xhr-json

    Weekly Downloads

    1

    Version

    2.2.5

    License

    MIT

    Last publish

    Collaborators

    • nathan7