{"library":"babel-plugin-remove-import-export","type":"library","category":null,"description":"A Babel plugin that strips import and export declarations from source files, useful for preparing code snippets for platforms like LeetCode. Current stable version is 1.1.1 (last updated 2020). It is lightweight and simple, with no dependencies. Options allow selective removal of imports, exports, or default exports, and control over preserving named export declarations. Unlike general code cleanup tools, it specifically targets module syntax only.","language":"javascript","status":"maintenance","version":"1.1.1","tags":["javascript","babel","plugin","transform","import","export","remove","strip"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-remove-import-export","imports":["plugins: ['remove-import-export']","plugins: [['remove-import-export', { removeImport: false }]]","require('@babel/core').transform(code, { plugins: ['remove-import-export'] })"]},{"cmd":"yarn add babel-plugin-remove-import-export","imports":[]},{"cmd":"pnpm add babel-plugin-remove-import-export","imports":[]}],"homepage":null,"github":"https://github.com/timwangdev/babel-plugin-remove-import-export","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-remove-import-export","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-remove-import-export/compatibility"}}