{"library":"babel-plugin-transform-dead-code-elimination","type":"library","category":null,"description":"A Babel 6 plugin that eliminates dead (unreachable) code, including unused variables, unreachable statements, and dead logical operators. It is a fork of babel-plugin-dead-code-elimination with additional fixes and features. Current stable version is v2.2.3, with releases in 2016 (last release 2.2.3). It is specific to Babel 6 and not compatible with Babel 7+. Key differentiators: supports experimental inlining (but warns it may break code), handles hoisted async functions correctly, and properly eliminates repeated var/function declarations.","language":"javascript","status":"deprecated","version":"2.2.3","tags":["javascript","babel-plugin"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-transform-dead-code-elimination","imports":["import plugin from 'babel-plugin-transform-dead-code-elimination'"]},{"cmd":"yarn add babel-plugin-transform-dead-code-elimination","imports":[]},{"cmd":"pnpm add babel-plugin-transform-dead-code-elimination","imports":[]}],"homepage":null,"github":"https://github.com/erikdesjardins/babel-plugin-transform-dead-code-elimination","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-transform-dead-code-elimination","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-transform-dead-code-elimination/compatibility"}}