{"id":25572,"library":"fast-flow-transform-darwin-arm64","title":"fast-flow-transform-darwin-arm64","description":"This is the native binary for the aarch64-apple-darwin platform for fast-flow-transform, a high-performance Flow stripping transform for JavaScript bundlers. Version 0.0.3 is current. The package is typically installed automatically as a dependency of the platform-agnostic fast-flow-transform package, but can be installed directly for edge cases. It provides native bindings for webpack, rspack, rsbuild, Parcel, Vite, Rollup, Rolldown, and esbuild adapters. Compared to alternatives like @babel/preset-flow or flow-remove-types, this package offers native performance via N-API and Hermes/FFT.","status":"active","version":"0.0.3","language":"javascript","source_language":"en","source_url":"https://github.com/jbroma/fast-flow-transform","tags":["javascript","esbuild","flowtype","parcel","rolldown","rollup","rsbuild","rspack","strip-flow"],"install":[{"cmd":"npm install fast-flow-transform-darwin-arm64","lang":"bash","label":"npm"},{"cmd":"yarn add fast-flow-transform-darwin-arm64","lang":"bash","label":"yarn"},{"cmd":"pnpm add fast-flow-transform-darwin-arm64","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Do not import the platform-specific binary directly; use the parent package 'fast-flow-transform' which auto-selects the correct binary.","wrong":"import fastFlowTransform from 'fast-flow-transform-darwin-arm64'","symbol":"fastFlowTransform","correct":"import fastFlowTransform from 'fast-flow-transform'"},{"note":"Named export for creating a bundler plugin. Available in the parent package.","wrong":"","symbol":"createFastFlowTransformPlugin","correct":"import { createFastFlowTransformPlugin } from 'fast-flow-transform'"},{"note":"ESM-only; CJS require is not supported. Use the parent package.","wrong":"const { transformSync } = require('fast-flow-transform-darwin-arm64')","symbol":"transformSync","correct":"import { transformSync } from 'fast-flow-transform'"}],"quickstart":{"code":"import fastFlowTransform from 'fast-flow-transform';\nimport webpack from 'webpack';\n\nconst config = {\n  module: {\n    rules: [\n      {\n        test: /\\.jsx?$/,\n        use: {\n          loader: 'fast-flow-transform/webpack',\n          options: {\n            // optional: specify file extensions\n            extensions: ['.js', '.jsx']\n          }\n        }\n      }\n    ]\n  }\n};\n\n// Or using the plugin for esbuild:\nimport { createFastFlowTransformPlugin } from 'fast-flow-transform';\nimport * as esbuild from 'esbuild';\n\nawait esbuild.build({\n  entryPoints: ['src/index.js'],\n  bundle: true,\n  plugins: [createFastFlowTransformPlugin()]\n});","lang":"typescript","description":"Shows how to use fast-flow-transform with webpack loader and esbuild plugin. Note that the platform-specific package is not imported directly."},"warnings":[{"fix":"Install 'fast-flow-transform' instead and import from it.","message":"Do not install or import this package directly. It is automatically installed as an optional dependency of 'fast-flow-transform'. Importing it directly will fail on non-Darwin ARM64 platforms.","severity":"gotcha","affected_versions":">=0.0.1"},{"fix":"Ensure Node.js >=18 LTS is used.","message":"The package is native-only and requires Node.js >=18. It will not work in browsers or older Node versions.","severity":"gotcha","affected_versions":">=0.0.1"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install 'fast-flow-transform' instead, which will automatically install the correct binary as an optional dependency.","cause":"Attempting to import or require the platform-specific package directly without it being installed.","error":"Error: Cannot find module 'fast-flow-transform-darwin-arm64'"},{"fix":"Use 'fast-flow-transform' as the import source instead.","cause":"Importing wrong package name in bundler configuration.","error":"Module not found: Error: Can't resolve 'fast-flow-transform-darwin-arm64' in '/path/to/project'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}