logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

flow-remove-types - Turn your JavaScript with Flow

Examples

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

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

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

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

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

   Transformstdin:
              cat input.js | flow-remove-types > output.js

flow-remove-types v1.2.3                          November 2022                             FLOW-REMOVE-TYPES(1)

Name

       flow-remove-types - Turn your JavaScript with Flow

Options

-h, --help
              Show this message

       -v, --version
              Prints the current version of flow-remove-types

       -i, --ignore
              Paths to ignore, Regular Expression

       -x, --extensions
              File extensions to transform

       -o, --out-file
              The file path to write transformed file to

       -d, --out-dir
              The directory path to write transformed files within

       -a, --all
              Transform all files, not just those with a @flow comment

       -p, --pretty
              Remove  flow  types without replacing with spaces, producing prettier output but may require using
              source maps

       -m, --sourcemaps
              Also output source map files. Optionally pass "inline"

       -q, --quiet
              Does not produce any output concerning successful progress.

Synopsis

flow-remove-types [options] [sources]

See Also