Re:JavaScript async/await implemented in V8
by dfischer on Monday May 16, 2016 @10:56PM
(#11711117)
What do you use for the new fetch api on node?
[ Parent
| on HN ]
Probably [node-fetch](https://www.npmjs.com/package/node-fetch)
I don't use it on Node but this syntax is great on react native.
Re:JavaScript async/await implemented in V8
by ascagnel_ on Tuesday May 17, 2016 @07:14AM
(#11712600)
node-fetch is one option, but I go with isomorphic-fetch[0] (since it can be run client-side via Babel).
Re:JavaScript async/await implemented in V8
by danielstocks on Tuesday May 17, 2016 @08:34AM
(#11713037)
fyi isomorphic-fetch is just a universal wrapper around node-fetch and github-fetch