{"library":"babel-plugin-auto-import","type":"library","category":null,"description":"A Babel plugin that automatically converts global variable references into import statements at build time. The current stable version is 1.1.0. It has a low release cadence with no recent updates. It differs from similar plugins (like babel-plugin-import) by supporting anonymous imports for side-effect modules, dynamic path generation based on filename, and flexible declaration syntax for default, named, and mixed imports. It is widely used in Create React App setups via react-app-rewired.","language":"javascript","status":"active","version":"1.1.0","tags":["javascript","babel-plugin","import","module"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-auto-import","imports":["// In .babelrc: {\"plugins\": [[\"auto-import\", {...}]]}","{\"declarations\": [{\"default\": \"React\", \"members\": [\"Component\"], \"path\": \"react\"}]}","{\"declarations\": [{\"anonymous\": [\"fetch\"], \"path\": \"whatwg-fetch\"}]}"]},{"cmd":"yarn add babel-plugin-auto-import","imports":[]},{"cmd":"pnpm add babel-plugin-auto-import","imports":[]}],"homepage":null,"github":"https://github.com/PavelDymkov/babel-plugin-auto-import","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-auto-import","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-auto-import/compatibility"}}