🌜
🌞
flow-bin

flow-bin

v0.184.0

Binary wrapper for Flow - A static type checker for JavaScript

npm install flow-bin

README

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

Release Notes

0.105.1
By Marshall Roch • Published on August 11, 2019

The [email protected] release uploaded to npm did not include the binaries. Sorry about that! flow-bin v0.105.1 includes the Flow v0.105.0 binaries, so it is expected that node_modules/.bin/flow version still reports v0.105.0.

There is no v0.105.1 release of Flow itself.

General

License
MIT
Typescript Types
None found
Tree-shakeable
No

Popularity

GitHub Stargazers
531
Community Interest
670
Number of Forks
49

Maintenance

Commits
10/219/2205
Last Commit
Open Issues
2
Closed Issues
139
Open Pull Requests
1
Closed Pull Requests
18

Versions

Versions Released
10/219/2205
Latest Version Released
Aug 3, 2022
Current Tags
latest0.184.0

Dependencies

Dependencies (0)
Dev Dependencies (0)

Contributors

gabelevi
gabelevi
Commits: 79
flow-bot
flow-bot
Commits: 51
jeffmo
jeffmo
Commits: 25
mroch
mroch
Commits: 23
sindresorhus
sindresorhus
Commits: 17
samwgoldman
samwgoldman
Commits: 15
jbrown215
jbrown215
Commits: 10
nmote
nmote
Commits: 10
avikchaudhuri
avikchaudhuri
Commits: 9
kevva
kevva
Commits: 9
panagosg7
panagosg7
Commits: 7
dsainati1
dsainati1
Commits: 5
gkz
gkz
Commits: 4
zertosh
zertosh
Commits: 3
calebmer
calebmer
Commits: 2