Socket
Book a DemoInstallSign in
Socket

flow-bin

Package Overview
Dependencies
Maintainers
11
Versions
421
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flow-bin

Binary wrapper for Flow - A static type checker for JavaScript

Source
npmnpm
Version
0.122.0
Version published
Weekly downloads
445K
-13.02%
Maintainers
11
Weekly downloads
 
Created
Source

flow-bin Build Status

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

  • 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).
  • Run make.
  • There should be 2 uncommitted changes at this point: SHASUM256.txt and package.json.
  • Commit the changes with the message Updated binary to v0.30.0, with the correct version.
  • Push/merge to master.
  • 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')
  • 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

Keywords

cli-app

FAQs

Package last updated on 02 Apr 2020

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