Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

babel-plugin-transform-flow-strip-types

babel1.5mMIT6.22.0

Strip flow type annotations from your output code.

babel-plugin

readme

babel-plugin-transform-flow-strip-types

Strip flow type annotations from your output code.

Installation

$ npm install babel-plugin-transform-flow-strip-types

Usage

.babelrc

{
  "plugins": ["transform-flow-strip-types"]
}

Via CLI

$ babel --plugins transform-flow-strip-types script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["transform-flow-strip-types"]
});