{"library":"esbuild-plugin-babel-flow","type":"library","category":null,"description":"An esbuild plugin for stripping Flow type annotations from JavaScript files using Babel under the hood. Current version is 0.0.5, released as an early-stage package. It integrates into the esbuild plugin system via the 'onLoad' event, transforming code with Babel's transform API to remove Flow types for safe execution. Key differentiators: it bridges esbuild's lack of native Flow support by leveraging Babel's flow-strip-types preset. Alternative plugins exist (e.g., esbuild-plugin-flow), but this one explicitly uses Babel for compatibility. Note that peer dependency esbuild ^0.14.23 is required.","language":"javascript","status":"active","version":"0.0.5","tags":["javascript","esbuild","plugin","flow"],"last_verified":"Fri May 01","install":[{"cmd":"npm install esbuild-plugin-babel-flow","imports":["import { babelFlowPlugin } from 'esbuild-plugin-babel-flow'","There is no default export.","import type { babelFlowPlugin } from 'esbuild-plugin-babel-flow'"]},{"cmd":"yarn add esbuild-plugin-babel-flow","imports":[]},{"cmd":"pnpm add esbuild-plugin-babel-flow","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/esbuild-plugin-babel-flow","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}