News for hackers. Stuff that matters.
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?
Re:JavaScript async/await implemented in V8 by pitaj on Monday May 16, 2016 @11:23PM (#11711184)
Re:JavaScript async/await implemented in V8 by mikeryan on Monday May 16, 2016 @11:09PM (#11711150)
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).

[0] https://github.com/matthew-andrews/isomorphic-fetch

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