/es6-module-jstransform

ES6 module syntax to CommonJS transformation

Primary LanguageJavaScriptMIT LicenseMIT

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.