flow-bin

0.232.0 • Public • Published

flow-bin

Binary wrapper for Flow - A static type checker for JavaScript

macOS (x64), Linux (x64, arm64) and Windows (x64) binaries are currently provided.

CLI

For Yarn:

$ yarn add --dev flow-bin
$ yarn run flow --help

For npm, add { "scripts": { "flow": "flow" } } in package.json and run:

$ npm install --save-dev flow-bin
$ npm run flow --help

API

$ npm install --save flow-bin
const execFile = require('child_process').execFile;
const flow = require('flow-bin');

execFile(flow, ['check'], (err, stdout) => {
	console.log(stdout);
});

License

flow-bin is MIT-licensed.

Releases

New Release

  1. make push VERSION=0.122.0 (use the same version as Flow)
  2. Publish to npm: make publish (run npm adduser the first time to log in)

Inspect a Release Before Publishing

npm pack
tar xf "flow-bin-$(node -p 'require("./package.json").version').tgz"
cd package
npm run verify

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.232.0
    2,166
    • latest

Version History

Package Sidebar

Install

npm i flow-bin

Weekly Downloads

276,324

Version

0.232.0

License

MIT

Unpacked Size

153 MB

Total Files

14

Last publish

Collaborators

  • mroch
  • gabelevi
  • gkz
  • fb
  • flowtype
  • samwgoldman
  • avikchaudhuri
  • pvekris
  • jbrown215
  • mvitousek