A plugin formatter for es6-module-transpiler that compiles ES6 module syntax into YUI.add() format. Version 0.3.0 is the latest stable release. This formatter allows developers to write ES6 modules and transpile them for use in YUI applications. It is maintained as part of the es6-module-transpiler ecosystem and sacrifices some ES6 features (like live bindings) to work with YUI's mutable namespace. Designed for build tool integration via CLI or programmatic API. Deprecated in favor of modern bundlers; no updates since 2015.
npm install es6-module-transpiler-yui-formatterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates programmatic usage of the YUI formatter with es6-module-transpiler: create container, set resolver and formatter, compile module, write output.
Migrate to a modern module transpiler like Babel or TypeScript and output UMD or ES modules.
Avoid relying on live bindings. Re-export values explicitly if needed.
Ensure es6-module-transpiler is pinned to 0.10.x in package.json.
Use programmatic API or switch to a different build tool.
Ensure imports of default exports occur after the module is loaded or use named exports instead.
Run 'npm install es6-module-transpiler-yui-formatter --save-dev' in your project directory.
Use: var YUIFormatter = require('es6-module-transpiler-yui-formatter');Ensure es6-module-transpiler is installed and configured with the YUI formatter.