{"library":"babel-plugin-transform-flow-enums","type":"library","category":null,"description":"Transforms Flow Enum declarations (EnumDeclaration) into runtime calls using the flow-enums-runtime package. Current stable version is 0.0.2. Updated as part of Flow releases (e.g., v0.308.0 changed enum AST node shape). This plugin is essential for projects using Flow Enums and Babel, providing a compile-time transformation. Differentiators: official Facebook package, tightly coupled with Flow's enum syntax and runtime, supports boolean/number/string/symbol/bigint enum types. Requires @babel/plugin-syntax-flow with {enums: true} and the flow-enums-runtime package.","language":"javascript","status":"active","version":"0.0.2","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-transform-flow-enums","imports":["module.exports = require('babel-plugin-transform-flow-enums');","plugins: ['babel-plugin-transform-flow-enums']","plugins: [['babel-plugin-transform-flow-enums', { getRuntime: (t) => t.memberExpression(t.identifier('require'), t.stringLiteral('flow-enums-runtime')) }]]"]},{"cmd":"yarn add babel-plugin-transform-flow-enums","imports":[]},{"cmd":"pnpm add babel-plugin-transform-flow-enums","imports":[]}],"homepage":null,"github":"https://github.com/facebook/flow","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-transform-flow-enums","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-flow-enums/compatibility"}}