@fiahfy/flow2ts
v0.0.10
Published
CLI to convert Flow code into TypeScript with babel-plugin-flow-to-typescript
Downloads
5
Readme
flow2ts
CLI to convert Flow code into TypeScript with babel-plugin-flow-to-typescript.
Installation
npm install @fiahfy/flow2ts
Usage
import { convert } from '@fiahfy/flow2ts'
convert(code)
CLI
npm install -g @fiahfy/flow2ts
flow2ts index.js
or use via npx
npx @fiahfy/flow2ts index.js