{"library":"babel-plugin-unassert","type":"library","category":null,"description":"Babel plugin that removes assertion calls (assert, console.assert, power-assert) from production builds. Current stable version is 3.2.0, compatible with Babel 7. Release cadence is low, with major versions tied to Babel major versions. Key differentiator: allows full use of assertions during development without runtime overhead in production, with support for ES modules and power-assert integration. Alternative to manual conditional wrapping or dead-code elimination.","language":"javascript","status":"active","version":"3.2.0","tags":["javascript","DbC","assert","babel","babel-plugin","unassert"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-unassert","imports":["import unassert from 'babel-plugin-unassert'; module.exports = { plugins: ['babel-plugin-unassert'] };","const unassert = require('babel-plugin-unassert');","import unassert from 'babel-plugin-unassert';"]},{"cmd":"yarn add babel-plugin-unassert","imports":[]},{"cmd":"pnpm add babel-plugin-unassert","imports":[]}],"homepage":null,"github":"https://github.com/unassert-js/babel-plugin-unassert","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-unassert","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-unassert/compatibility"}}