node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org ยป

es6-module-jstransform

es6-module-jstransform

ES6 module syntax to CommonJS transformation.

Installation

% npm install es6-module-jstransform

Usage

var transform = require('es6-module-jstransform');
var transformed = transform(src);

See specs/cases for the examples.