ESModules without babel.
Published in
1 min readFeb 1, 2018
If you want to quickly run a node script without babel you can use the --experimental-modules
flag. Not all of the EP are implemented, but it comes in handy when you want to quickly try something. File should be saved with .mjs extension.
node --experimental-modules my-app.mjs