Apply babel to a module and then require it.
npm install --save babelify-require
const babelifyRequire = require('babelify-require');
const result = await babelifyRequire('./es6-module.js');
//result === module exports
The MIT License (MIT)
Copyright (c) 2015 parro-it