{"library":"babel-plugin-feature-flags","type":"library","category":null,"description":"A Babel 6 plugin that replaces feature flag call expressions (e.g., `isEnabled('feature')`) with boolean literals based on a static configuration map. Current stable version is 0.3.1, with low release cadence. It targets Babel 6 only; Babel 5 users must use 0.2.x. Key differentiator: it works with any import name and supports 'dynamic' flags that are left untouched. Typically paired with a dead code elimination step (Uglify, etc.). No TypeScript support; no security incidents reported.","language":"javascript","status":"maintenance","version":"0.3.1","tags":["javascript","babel","babel-plugin"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-feature-flags","imports":["module.exports = {\n  plugins: [\n    ['feature-flags', { import: { module: 'my-features' }, features: { 'new-feature': 'disabled' } }]\n  ]\n};","import isEnabled from 'my-features';","{\n  'my-feature': 'enabled',\n  'beta-feature': 'disabled',\n  'experimental': 'dynamic'\n}"]},{"cmd":"yarn add babel-plugin-feature-flags","imports":[]},{"cmd":"pnpm add babel-plugin-feature-flags","imports":[]}],"homepage":null,"github":"https://github.com/ember-cli/babel-plugin-feature-flags","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-feature-flags","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-feature-flags/compatibility"}}