Skip to content

clayrisser/export-es6

Repository files navigation

export-es6

GitHub stars

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 ★ ★ ★

Features

  • Works in commonjs environment
  • Exports commonjs modules
  • Exports ES6 modules

Installation

npm install --save export-es6

Dependencies

Usage

// module.exports = { hello: 'world' };
require('export-es6')(module, { hello: 'world' });

Support

Submit an issue

Screenshots

Contribute a screenshot

Contributing

Review the guidelines for contributing

License

MIT License

Jam Risser © 2018

Changelog

Review the changelog

Credits

Support on Liberapay

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!

Liberapay receiving Liberapay patrons

About

export es6 module in commonjs environment environment

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •