{"library":"babel-plugin-danger-remove-unused-import","type":"library","category":null,"description":"Babel plugin to remove unused imports, reducing bundle size. Version 2.0.0 as of latest release. Updated sporadically; last commit 2020. Key differentiator: aggressively removes imports even if side effects exist (hence 'dangerous'), with opt-out via ignore option. Alternatives (babel-plugin-transform-remove-imports) are less aggressive. Only supports ESM imports, not CommonJS require statements.","language":"javascript","status":"deprecated","version":"2.0.0","tags":["javascript","imcuttle","shake","remove-unused","babel-plugin"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-danger-remove-unused-import","imports":["module.exports = require('babel-plugin-danger-remove-unused-import')","const plugin = require('babel-plugin-danger-remove-unused-import')","plugins: [['danger-remove-unused-import', { ignore: ['react'] }]]"]},{"cmd":"yarn add babel-plugin-danger-remove-unused-import","imports":[]},{"cmd":"pnpm add babel-plugin-danger-remove-unused-import","imports":[]}],"homepage":null,"github":"https://github.com/imcuttle/babel-plugin-danger-remove-unused-import","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-danger-remove-unused-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-danger-remove-unused-import/compatibility"}}