Registry / serialization / es6-module-transpiler-system-formatter

es6-module-transpiler-system-formatter

JSON →
library0.3.0jsnpmunverified

An output formatter for es6-module-transpiler that generates System.register() format, enabling ES6 module semantics (including delayed execution, circular dependencies, and live bindings) in ES5. Current stable version: 0.3.0 (2015, no further updates). It integrates with SystemJS and es6-micro-loader and is interchangeable with Traceur's output. Key differentiator: preserves ES6 semantics exactly via the transpiler pipeline, but is experimental and no longer maintained. Use modern tools like Babel or TypeScript instead.

serialization
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

This package does not support ES module imports; it must be used via CommonJS require.

const SystemFormatter = require('es6-module-transpiler-system-formatter');

Demonstrates programmatic usage with es6-module-transpiler to transpile ES6 modules into System.register format.

var transpiler = require('es6-module-transpiler'); var SystemFormatter = require('es6-module-transpiler-system-formatter'); var Container = transpiler.Container; var FileResolver = transpiler.FileResolver; var container = new Container({ resolvers: [new FileResolver(['lib/'])], formatter: new SystemFormatter() }); container.getModule('index'); container.write('out/mylib.js');
Debug
Known footguns
deprecatedThis package is no longer maintained. Use modern transpilers like Babel or TypeScript with SystemJS.
breakingVersion 0.3.0 requires es6-module-transpiler 0.10. Incompatible with older versions.
gotchaThe output format is experimental and may change between minor versions, breaking System.register() consumers.
gotchaThis package does not support ES module syntax; it only works with CommonJS require.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
11 hits · last 30 days
ahrefsbot
4
claudebot
4
gptbot
3
Resources