gulp-flow-remove-types

1.0.0 • Public • Published

gulp-flow-remove-types

Gulp plugin for flow-remove-types.

Installation

Install the package:

  • npm npm install --save gulp-flow-remove-types
  • yarn yarn add gulp-flow-remove-types

Usage

var gulp = require('gulp'),
    flowRemoveTypes = require('gulp-flow-remove-types');
 
 
gulp.src('file.js')
    .pipe(flowRemoveTypes())
    .pipe(gulp.dest('dist'));

Options

By default, flow-remove-types replaces Flow type definitions with whitespaces.

Pass {pretty: true} if you want more condensed output (no whitespaces).

gulp.src('file.js')
    .pipe(flowRemoveTypes({
        pretty: true
    }))
    .pipe(gulp.dest('dist'));

Package Sidebar

Install

npm i gulp-flow-remove-types

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • wain-pc