isabella232 / flow-remove-types

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flow-remove-types

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.

About

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

License:Other


Languages

Language:JavaScript 90.8%Language:Shell 9.2%