# fly-unflow

> Removes Flow type annotations with Fly

Latest version **1.0.0** (published 2017-04-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install fly-unflow
pnpm add fly-unflow
yarn add fly-unflow
bun add fly-unflow
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-04-17 |
| First published | 2017-04-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 4.6 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Luke Edwards |
| Maintainers | lukeed |
| Keywords | fly, fly-plugin, flowtype, remove, types, flow |

## Links

- npm: https://www.npmjs.com/package/fly-unflow
- Repository: https://github.com/lukeed/fly-unflow
- Homepage: https://github.com/lukeed/fly-unflow#readme
- Issues: https://github.com/lukeed/fly-unflow/issues
- npm.io page: https://npm.io/package/fly-unflow

## Dependencies (1)

- [flow-remove-types](https://npm.io/package/flow-remove-types.md) ^1.2.0

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2017-04-17

## README

# fly-unflow [![][travis-badge]][travis-link]

> Removes [Flow](https://flow.org/) type annotations with Fly

## Install

```sh
npm install --save-dev fly-unflow
```

## Usage

```js
exports.build = function * (fly) {
  yield fly.source('src/**/*.js').unflow({
    all: false,
    sourceMap: 'inline'
  }).target('lib');
};
```

## API

### .unflow(options)

#### options.all

Type: `Boolean`<br>
Default: `true`

Transforms _all_ files; not just those with a "@flow" comment.

#### options.pretty

Type: `Boolean`<br>
Default: `true`

Remove whitespace where annotations used to be. See [here](https://github.com/flowtype/flow-remove-types#pretty-transform) for more info.

#### options.sourceMap

Type: `String`<br>
Options: `internal|external`<br>
Default: `''`

Create an inline or an external sourcemap for each entry file. A `sourceMappingURL` comment is appended to each destination file.

> If using external maps, a `foo.js` entry will also generate a `foo.js.map` file.

## License

MIT © [Luke Edwards](https://lukeed.com)

[travis-link]:  https://travis-ci.org/lukeed/fly-unflow
[travis-badge]: http://img.shields.io/travis/lukeed/fly-unflow.svg?style=flat-square

---
_Source: https://npm.io/package/fly-unflow · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
