{"library":"babel-helper-module-imports","type":"library","category":null,"description":"Babel helper to insert module imports programmatically in AST transforms. v7.0.0-beta.3 is a prerelease of the 7.x series, part of the Babel ecosystem. This package provides functions like addDefault, addNamed, addSideEffect, and addNamespace to inject import statements during plugin execution. It abstracts away import creation, handling scoping, name collisions, and path insertion. The stable 7.x line is in maintenance; 8.x is in development with breaking changes. Key differentiator: designed for Babel plugin authors needing to add imports without manual AST construction.","language":"javascript","status":"active","version":"7.0.0-beta.3","tags":["javascript"],"last_verified":"Sat Apr 25","install":[{"cmd":"npm install babel-helper-module-imports","imports":["import { addDefault } from 'babel-helper-module-imports'","import { addNamed } from 'babel-helper-module-imports'","import { addSideEffect } from 'babel-helper-module-imports'","import { addNamespace } from 'babel-helper-module-imports'"]},{"cmd":"yarn add babel-helper-module-imports","imports":[]},{"cmd":"pnpm add babel-helper-module-imports","imports":[]}],"homepage":"https://babeljs.io","github":"https://github.com/babel/babel","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-helper-module-imports","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}