Removes Flow type annotations from JavaScript files with speed and simplicity.


002.0.09 months ago4 years agoMinified + gzip package size for @mapbox/flow-remove-types in KB



This is a fork of flow-remove-types v1, an older version of Facebook's Flow types removal tool that's based on the Babel parser.

The current official version of the tool is based on Flow parser, which is compiled to JavaScript from OCaml and its performance is unsuitable for our projects — about 4–5 times slower than this fork. We're maintaining the fork to keep our testing and bundling pipelines in Mapbox GL JS fast.

Published on NPM under @mapbox/flow-remove-types.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.