Isomorphic WHATWG Fetch API, for Node & Browserify
fetch from GitHub makes it easier to make web requests and handle responses than using an XMLHttpRequest. This polyfill is written as closely as possible to the standard Fetch specification.
fetch was in the nmotw queue for quite some time now, but this week seems to be special as FF nightly and Chrome canary rolled out this API ;)
npm install isomorphic-fetch
1 2 3 4 5 6 7 8 9 10 11 12
Would log something like:
Thanks to Matt Andrews for