ES6 Module Transpiler (v0.10.0) is an experimental compiler that converts a subset of ES6 module syntax into AMD or CommonJS formats. Maintained by Square with irregular releases, it extends transpilers like Babel to support alternative output formats (AMD, CommonJS, bundle) and includes a CLI. Designed for early ES6 adoption; superseded by Babel and TypeScript for production use. Key differentiator: custom format support and integration with legacy build tools (Grunt, Gulp, Brunch, Broccoli, Mimosa).
npm install es6-module-transpilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates using the Container, FileResolver, and BundleFormatter to transpile ES6 modules into a single bundle file.
Migrate to Babel (https://babeljs.io) or TypeScript (https://www.typescriptlang.org) for ES6+ module transpilation.
Update import path to include '/lib/formatters/' subdirectory.
Wrap single resolver in an array: resolvers: [new FileResolver(...)]
Access default export via require('module').default.Use: import { BundleFormatter } from 'es6-module-transpiler/lib/formatters/bundle'; (for v0.5.x+)Ensure container is instantiated with 'new Container({...})' and call getModule('modulename').No dependency data recorded yet.