DOKK / manpages / debian 12 / node-flow-remove-types / flow-remove-types.1.en
FLOW-REMOVE-TYPES(1) User Commands FLOW-REMOVE-TYPES(1)

flow-remove-types - Turn your JavaScript with Flow

flow-remove-types [options] [sources]

Show this message
Prints the current version of flow-remove-types
Paths to ignore, Regular Expression
File extensions to transform
The file path to write transformed file to
The directory path to write transformed files within
Transform all files, not just those with a @flow comment
Remove flow types without replacing with spaces, producing prettier output but may require using source maps
Also output source map files. Optionally pass "inline"
Does not produce any output concerning successful progress.

flow-remove-types --out-file output.js input.js

flow-remove-types --out-dir out/ input1.js input2.js

flow-remove-types --out-dir out/ indir/

flow-remove-types --out-dir out/ indir/ --sourcemaps

flow-remove-types --out-dir out/ indir/ --sourcemaps inline

cat input.js | flow-remove-types > output.js
November 2022 flow-remove-types v1.2.3