
Security News
Engineering with AI Podcast: The Promise of AI-First Development
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.
flow-bin
Advanced tools
Binary wrapper for Flow - A static type checker for JavaScript
OS X, Linux (64-bit) and Windows binaries are currently provided.
$ npm install --global flow-bin
$ flow --help
$ npm install --save flow-bin
const execFile = require('child_process').execFile;
const flow = require('flow-bin');
execFile(flow, ['check'], (err, stdout) => {
console.log(stdout);
});
flow-bin is MIT-licensed.
package.json to reflect the flow version to publish. (For now, flow-bin's version is also the version of the flow binary).make.SHASUM256.txt and package.json.Updated binary to v0.30.0, with the correct version.master.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')
npm pack
tar xf "flow-bin-$(node -p 'require("./package.json").version').tgz"
cd package
npm run verify
TypeScript is a popular static type checker for JavaScript developed by Microsoft. It offers a superset of JavaScript with optional static types, and it has a large ecosystem and community support. Unlike Flow, TypeScript requires a compilation step to convert TypeScript code into JavaScript.
PropTypes is a library for runtime type checking of React props. It is less comprehensive than Flow or TypeScript as it only checks types at runtime and is specifically designed for React components. It does not provide the same level of static analysis and type inference as Flow.
ESLint plugin for Flow type annotations. It provides linting rules for Flow type annotations, helping to enforce consistent style and catch potential issues. It complements Flow by integrating type checking into the ESLint workflow.
FAQs
Binary wrapper for Flow - A static type checker for JavaScript
The npm package flow-bin receives a total of 348,676 weekly downloads. As such, flow-bin popularity was classified as popular.
We found that flow-bin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 open source maintainers collaborating on the project.
Did you know?

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.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.

Research
Fake “Phantom Shuttle” VPN Chrome extensions (active since 2017) hijack proxy auth to intercept traffic and continuously exfiltrate user credentials to attacker infrastructure.