Socket
Book a DemoInstallSign in
Socket

flowgen2

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flowgen2

Generate flowtype definition files from TypeScript

latest
npmnpm
Version
2.2.2
Version published
Maintainers
1
Created
Source

Flowgen2

Nothing much works yet, but I plan to expand on this very soon.

Installation

npm install flowgen2

Usage

Add something like the following to your package.json:

  "scripts": {
    "build": "tsc",
    "postbuild": "flowgen \"lib/**/*\""
  }

Then when you run npm run build, you should see .js.flow files along with all your typescript defintions and plain JavaScript files.

License

MIT

FAQs

Package last updated on 20 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts