{"library":"babel-plugin-ember-modules-api-polyfill","type":"library","category":null,"description":"babel-plugin-ember-modules-api-polyfill is a Babel plugin designed to facilitate the adoption of the modern JavaScript Modules API (RFC #176) by Ember addon authors. It achieves this by transpiling new module import statements (e.g., `import { inject } from \"@ember/service\"`) back into their equivalent legacy global object references (e.g., `const inject = Ember.inject.service`) during the build process. This mechanism ensures that addons can leverage contemporary Ember API patterns without sacrificing compatibility with older Ember applications that have not yet fully migrated. Currently at version 3.5.0, the plugin maintains an active release cadence, frequently incorporating bug fixes and enhancements, often driven by updates to the underlying `ember-rfc176-data` package and evolving Ember API requirements. Its primary role is to provide a smooth transition path for Ember applications from a global object dependency model to a more modularized architecture.","language":"javascript","status":"active","version":"3.5.0","tags":["javascript","babel-plugin"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-ember-modules-api-polyfill","imports":["module.exports = { plugins: ['babel-plugin-ember-modules-api-polyfill'] };","module.exports = { plugins: [['babel-plugin-ember-modules-api-polyfill', { useEmberModule: true }]] };"]},{"cmd":"yarn add babel-plugin-ember-modules-api-polyfill","imports":[]},{"cmd":"pnpm add babel-plugin-ember-modules-api-polyfill","imports":[]}],"homepage":null,"github":"https://github.com/ember-cli/babel-plugin-ember-modules-api-polyfill","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-ember-modules-api-polyfill","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-ember-modules-api-polyfill/compatibility"}}