{"id":25251,"library":"es6-module-transpiler-system-formatter","title":"ES6 Module Transpiler System Formatter","description":"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.","status":"deprecated","version":"0.3.0","language":"javascript","source_language":"en","source_url":"https://github.com/caridy/es6-module-transpiler-system-formatter","tags":["javascript","es6","module","transpiler","system","module-formatter"],"install":[{"cmd":"npm install es6-module-transpiler-system-formatter","lang":"bash","label":"npm"},{"cmd":"yarn add es6-module-transpiler-system-formatter","lang":"bash","label":"yarn"},{"cmd":"pnpm add es6-module-transpiler-system-formatter","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"This package is a formatter extension for the es6-module-transpiler library; it cannot be used standalone.","package":"es6-module-transpiler","optional":false}],"imports":[{"note":"This package does not support ES module imports; it must be used via CommonJS require.","wrong":"import SystemFormatter from 'es6-module-transpiler-system-formatter';","symbol":"SystemFormatter","correct":"const SystemFormatter = require('es6-module-transpiler-system-formatter');"}],"quickstart":{"code":"var transpiler = require('es6-module-transpiler');\nvar SystemFormatter = require('es6-module-transpiler-system-formatter');\nvar Container = transpiler.Container;\nvar FileResolver = transpiler.FileResolver;\n\nvar container = new Container({\n  resolvers: [new FileResolver(['lib/'])],\n  formatter: new SystemFormatter()\n});\n\ncontainer.getModule('index');\ncontainer.write('out/mylib.js');","lang":"javascript","description":"Demonstrates programmatic usage with es6-module-transpiler to transpile ES6 modules into System.register format."},"warnings":[{"fix":"Migrate to Babel or TypeScript and use their respective module formats (System.register is still supported in SystemJS).","message":"This package is no longer maintained. Use modern transpilers like Babel or TypeScript with SystemJS.","severity":"deprecated","affected_versions":">=0.1.0"},{"fix":"Ensure es6-module-transpiler is at version ^0.10.0 when using this package.","message":"Version 0.3.0 requires es6-module-transpiler 0.10. Incompatible with older versions.","severity":"breaking","affected_versions":"0.3.0"},{"fix":"Pin the exact version of this formatter and test compatibility with your loader.","message":"The output format is experimental and may change between minor versions, breaking System.register() consumers.","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Use CommonJS require() to import the formatter; do not attempt ES import.","message":"This package does not support ES module syntax; it only works with CommonJS require.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install the package locally: npm install es6-module-transpiler-system-formatter, then use -f ./node_modules/es6-module-transpiler-system-formatter.","cause":"The package is not installed or the path is incorrect when using CLI -f option.","error":"Error: Cannot find module 'es6-module-transpiler-system-formatter'"},{"fix":"Use const SystemFormatter = require('es6-module-transpiler-system-formatter');","cause":"Using ES import (import SystemFormatter from ...) instead of CommonJS require.","error":"TypeError: SystemFormatter is not a constructor"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}