{"id":25243,"library":"es6-module-transpiler-closure","title":"ES6 Module Transpiler Closure Transformer","description":"An experimental transformer for the es6-module-transpiler that converts ES6 modules into Closure Library-style modules with goog.require and goog.provide statements, preserving bundle order without concatenation. Version 1.0.0 is the only published release. Unlike the bundle transformer, this enables full Closure Compiler type checking (e.g., @private annotations) by keeping modules as separate files. The order is maintained identically to the bundle transformer to avoid inconsistencies. It requires Node.js and the es6-module-transpiler CLI.","status":"deprecated","version":"1.0.0","language":"javascript","source_language":"en","source_url":null,"tags":["javascript"],"install":[{"cmd":"npm install es6-module-transpiler-closure","lang":"bash","label":"npm"},{"cmd":"yarn add es6-module-transpiler-closure","lang":"bash","label":"yarn"},{"cmd":"pnpm add es6-module-transpiler-closure","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"CLI tool that loads this transformer; the package is not functional without it.","package":"es6-module-transpiler","optional":false}],"imports":[],"quickstart":{"code":"npm install es6-module-transpiler es6-module-transpiler-closure --save\ncompile-modules convert -f es6-module-transpiler-closure main.js -o dst","lang":"javascript","description":"Install the transpiler and this transformer, then use the CLI to convert an ES6 module to separate Closure-style files."},"warnings":[{"fix":"Consider using the bundle transformer or a more modern transpiler like Babel with Closure Compiler integration.","message":"This package is experimental and only at version 1.0.0. It may have bugs and is not recommended for production use.","severity":"gotcha","affected_versions":"1.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'npm install es6-module-transpiler-closure --save' in your project directory.","cause":"The package is not installed or the path is incorrect.","error":"Error: Cannot find module 'es6-module-transpiler-closure'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}