@aabenoja/flow-bin

Binary wrapper for Flow - A static type checker for JavaScript

Usage no npm install needed!

<script type="module">
  import aabenojaFlowBin from 'https://cdn.skypack.dev/@aabenoja/flow-bin';
</script>

README

flow-bin Build Status

Binary wrapper for Flow - A static type checker for JavaScript

Only OS X and Linux (64-bit) 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 BSD-licensed. We also provide an additional patent grant.