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.

devops
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.

Primary entry point for programmatic usage.

import { transformFlowCode } from 'fast-flow-transform'

Plugin classes are exported from adapter-specific subpaths.

import { FastFlowTransformPlugin } from 'fast-flow-transform/adapters/webpack'

Adapter functions are exported from dedicated adapter modules.

import { viteFastFlowTransform } from 'fast-flow-transform/adapters/vite'

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 footguns
breakingThe package requires Node.js >=18. Older versions will fail to install or run.
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.
deprecatedNo breaking changes or deprecations yet in this early version.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
11 hits · last 30 days
ahrefsbot
4
claudebot
4
gptbot
3
Resources