flow-bin
    Overview
    Documentation
    Tutorials
    Insights
    Code
    Dependencies
    Contributors
    Jobs

flow-bin

Binary wrapper for Flow - A static type checker for JavaScript

0.107.0  •  Updated 7 months ago  •  by flowtype  •  MIT License

Binary wrapper for Flow - A static type checker for JavaScript

OS X, Linux (64-bit) and Windows binaries are currently provided.

CLI

$ npm install --global flow-bin
$ 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. Update the “version” in package.json to reflect the flow version to publish. (For now, flow-bin's version is also the version of the flow binary).
  2. Run make.
  • There should be 2 uncommitted changes at this point: SHASUM256.txt and package.json.
  1. Commit the changes with the message Updated binary to v0.30.0, with the correct version.
  2. Push/merge to master.
  3. Tag the update:
git checkout master &&
git pull &&
make test &&
git tag v$(node -p 'require("./package.json").version') &&
git push v$(node -p 'require("./package.json").version')
  1. Publish to npm.

Inspect a Release Before Publishing

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

Popularity

Weekly Downloads
515.3K
Stars
507

Maintenance

Development

Last ver 7 months ago
Created 5 years ago
Last commit 4 months ago
8 days between commits

Technology

Node version: 12.9.1
76590.8K unpacked

Compliance

MIT License
OSI Approved
0 vulnerabilities

Contributors

27 contributors
Gabe Levi
Maintainer, 90 commits, 10 merges, 8 PRs
Works at Facebook
Jeff Morrison
Maintainer, 25 commits, 2 merges, 5 PRs
Sindre Sorhus
22 commits, 5 merges
Sam Goldman
15 commits, 1 merges, 1 PRs
Works at facebook
Kevin Martensson
12 commits, 3 merges, 2 PRs
Works at imagemin yeoman
Marshall Roch
13 commits, 1 merges

Dependencies

Tags

cli-app
cli
bin
binary
flow
facebook
type
inference
check
checker
javascript
js
wrapper
Openbase helps developers choose among and use millions of open-source packages, so they can build amazing products faster.
FacebookTwitterLinkedIn
© 2020 Devstore, Inc.