babel-plugin-transform-flow-strip-types

Strip flow type annotations from your output code.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
babel-plugin-transform-flow-strip-types
6.22.07 years ago9 years agoMinified + gzip package size for babel-plugin-transform-flow-strip-types in KB

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

Via .babelrc (Recommended)

.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"]
});