{"library":"es6-module-transpiler-amd-formatter","type":"library","category":null,"description":"An output formatter plugin for es6-module-transpiler that compiles ES6 module syntax into AMD define() format supported by RequireJS. Version 0.3.0 is the latest stable release; the project is in maintenance mode with no active development. It converts subsets of ES6 module syntax (import/export) into AMD-compatible code, supporting default exports, named exports, and re-exports. Unlike other transpilers like Babel, this plugin is tightly coupled to the now-deprecated es6-module-transpiler ecosystem and requires esprima for parsing. It compromises on ES6 features like live bindings and sealed objects to enable AMD compatibility. Requires Node.js and the es6-module-transpiler package at version 0.10.x.","language":"javascript","status":"maintenance","version":"0.3.0","tags":["javascript","es6","module","transpiler","amd","module-formatter"],"last_verified":"Fri May 01","install":[{"cmd":"npm install es6-module-transpiler-amd-formatter","imports":["var AMDFormatter = require('es6-module-transpiler-amd-formatter');","compile-modules convert -f es6-module-transpiler-amd-formatter input.js -o output.js","var Container = require('es6-module-transpiler').Container;\nvar formatter = new (require('es6-module-transpiler-amd-formatter'))();"]},{"cmd":"yarn add es6-module-transpiler-amd-formatter","imports":[]},{"cmd":"pnpm add es6-module-transpiler-amd-formatter","imports":[]}],"homepage":null,"github":"https://github.com/caridy/es6-module-transpiler-amd-formatter","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/es6-module-transpiler-amd-formatter","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}