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

Downloads in past


002.0.02 years ago5 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.