nano-fetch
A tiny window.fetch-like promise-based AJAX implementation
It's based on XMLHttpRequest
so refer to its documentation for the expected output. It defaults to JSON output and GET requests.
Usage
;
;
With browserify
npm install --save nano-fetch
var nanoFetch = ;
API
nanoFetch(url[, options])
url
is an absolute or relative URLoptions
is an object with the properties:
Dependencies
None
License
MIT © Federico Brigante