I\'m trying to configure Babel for Node v6.9.2. I want to use async/await constructs.
Because I\'m new to Babel and all Node infrastructur
Use Babel preset for Node 6.x:
To see what ES feature is supported in a given Node version, see:
For async/await support in particular, see:
If you use Node v7.x (the current version) then you can use the --harmony flag and use async/await natively without transpilation.
Node v8.x (available as nightly builds) doesn't even need the --harmony flag for that.
But note that Node doesn't support import/export - to know why see: