1. @mapbox/flow-remove-types
Removes Flow type annotations from JavaScript files with speed and simplicity.
@mapbox/flow-remove-types
Package: @mapbox/flow-remove-types
Created by: mapbox
Last modified: Thu, 12 Jan 2023 12:42:24 GMT
Version: 2.0.0
License: BSD-3-Clause
Downloads: 3,454
Repository: https://github.com/mapbox/flow-remove-types

Install

npm install @mapbox/flow-remove-types
yarn add @mapbox/flow-remove-types

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.

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code