1 min readJul 29, 2016
I may want to add this to the original post.
We use node 4 along with Babel’s transform-async-to-generator plugin along with the es2015 and stage-2 presets.
Here’s a simplified version of .babelrc file
{
“presets”: [“es2015”, “stage-2”],
“plugins”: [“transform-async-to-generator”]
}
As far as node support for async/await, it just landed behind a flag in Chrome, so I can imagine it will be coming to node.js in the next year or so: