Registry / devops / fast-flow-transform-linux-x64-gnu

fast-flow-transform-linux-x64-gnu

JSON →
library0.0.3jsnpmunverified

This is the native binary package for the x86_64-unknown-linux-gnu platform, part of the fast-flow-transform project. It provides a high-performance Flow type-stripping transform using the Hermes/FFT engine, with adapters for webpack, rspack, rsbuild, Parcel, Vite, Rollup, Rolldown, and esbuild. The current stable version is 0.0.3, released as an initial public version; the package is in early development with frequent releases. It differentiates from alternatives like flow-remove-types by leveraging native Rust bindings via napi-rs for faster stripping, and it integrates seamlessly with modern bundlers.

npm install fast-flow-transform-linux-x64-gnu
INSTALL
IMPORT
SIG · FAST-FLOW-TRANSFOR
F
fast-flow-transform-linux-x64-gnu
devopsjavascriptv0.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

transformFlowCode
import { transformFlowCode } from 'fast-flow-transform'
Primary entry point for programmatic usage.
FastFlowTransformPlugin
import { FastFlowTransformPlugin } from 'fast-flow-transform/adapters/webpack'
import { FastFlowTransformPlugin } from 'fast-flow-transform'
Plugin classes are exported from adapter-specific subpaths.
viteFastFlowTransform
import { viteFastFlowTransform } from 'fast-flow-transform/adapters/vite'
import { viteFastFlowTransform } from 'fast-flow-transform'
Adapter functions are exported from dedicated adapter modules.

Demonstrates programmatic Flow type stripping using the transformFlowCode function.

import { transformFlowCode } from 'fast-flow-transform'; const code = `// @flow function foo(x: ?number): string { if (x) { return String(x); } return 'default'; }`; const result = transformFlowCode(code, { sourceType: 'module' }); console.log(result.code); // Output: // function foo(x) { // if (x) { // return String(x); // } // return 'default'; // }
Debug
Known issues
breakingThe package requires Node.js >=18. Older versions will fail to install or run.
fix
Upgrade Node.js to version 18 or later.
affects: >=0.0.0
gotchaThis is a platform-specific binary package; it will only install on x86_64 Linux with glibc (gnu). Other platforms must use their respective binary packages (e.g., linux-x64-musl, darwin-arm64) or the main fast-flow-transform package which will download the correct binary automatically.
fix
Do not add this package directly to dependencies; rely on 'fast-flow-transform' as a dependency and it will install the appropriate binary.
affects: >=0.0.1
deprecatedNo breaking changes or deprecations yet in this early version.
fix
N/A
Errors
Common errors & fixes
Error: Cannot find module 'fast-flow-transform-linux-x64-gnu'
The binary package is not intended to be imported directly; it should be a transitive dependency of 'fast-flow-transform'.
fix
Install the main package instead: npm install fast-flow-transform
Module not found: Error: Package path ./adapters/webpack not exported from package fast-flow-transform
The adapter subpath exports may not be available in older versions (pre-0.0.3 or early releases).
fix
Ensure you have version 0.0.3 or later: npm install fast-flow-transform@latest
Upgrade
Version history
0.0.3latest on npm
Audit
Dependencies
fast-flow-transformrequiredThis is a platform-specific binary; the main package fast-flow-transform provides the CLI and programmatic API.
Agent activity
4 hits · last 30 days
node
4
Resources
fast-flow-transform-linux-x64-gnu — npm install fast-flow-transform-linux-x64-gnu · libregistry