@aabenoja/flow-bin 中文文档教程
flow-bin
Flow 的二进制包装器 - 用于 JavaScript 的静态类型检查器
目前只有 OS X 和 Linux(64 位)二进制文件 提供。
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 是 BSD 许可的。 我们还提供额外的专利授权。
flow-bin
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.