{"library":"babel-globals-module-formatter","type":"library","category":null,"description":"A babel plugin/module formatter that transforms ES6 module exports into global variable assignments. Version 0.1.4 is the latest stable release (low cadence, no updates since 2016). It provides a way to use ES6 modules in non-module environments by exposing exports on the global object. Works with Babel 5.x only; not compatible with Babel 6+ due to API changes. Key differentiator: simple, lightweight solution for legacy browser bundles without module loaders.","language":"javascript","status":"deprecated","version":"0.1.4","tags":["javascript","babel","es6","module","module-formatter","globals"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install babel-globals-module-formatter","imports":["import globalsFormatter from 'babel-globals-module-formatter'","Use via babel options: { modules: globalsFormatter }"]},{"cmd":"yarn add babel-globals-module-formatter","imports":[]},{"cmd":"pnpm add babel-globals-module-formatter","imports":[]}],"homepage":"https://github.com/mairatma/babel-globals-module-formatter","github":"https://github.com/mairatma/babel-globals-module-formatter","docs":null,"changelog":null,"pypi":null,"npm":"babel-globals-module-formatter","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}