Socket
Book a DemoInstallSign in
Socket

flow-bin

Package Overview
Dependencies
Maintainers
10
Versions
416
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

latest
Source
npmnpm
Version
0.290.0
Version published
Weekly downloads
420K
-15.34%
Maintainers
10
Weekly downloads
 
Created
Source

flow-bin

Binary wrapper for Flow - A static type checker for JavaScript

macOS (arm64), 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

  • make push VERSION=0.122.0 (use the same version as Flow)
  • 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

Keywords

cli-app

FAQs

Package last updated on 06 Nov 2025

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