export es6 module in commonjs environment
If the exported module is not an ES6 module it is converted to an ES6 module.
Please ★ this repo if you found it useful ★ ★ ★
- Works in commonjs environment
- Exports commonjs modules
- Exports ES6 modules
npm install --save export-es6
// module.exports = { hello: 'world' };
require('export-es6')(module, { hello: 'world' });
Submit an issue
Contribute a screenshot
Review the guidelines for contributing
Jam Risser © 2018
Review the changelog
- Jam Risser - Author
A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.
Add some fuel if you'd like to keep me going!