Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

flow-result-checker

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flow-result-checker

A package to avoid reporting errors in `node_modules`.

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

flow-result-checker

Build Status Build Status npm version

This is a small helper script, that parses flow output and filters errors inside node_modules. Afterwards returns the normal flow output for errors inside your package.

You can choose to store the whole result as a txt file by specifying a directory to save the results to.

Options

optionresultdefault
-d, --dirspecifies the directory where files should be saved. if not specified, files will not be savedundefined
-f, --filename of the file where results are savedresults.txt
-e, --error-filename of the file, errors during script execution will be savederrors.txt

Examples

Your package.json:

  "scripts": {
    "flow": "flow check --show-all-errors | flow-result-checker",
    "flow-with-save": "flow check --show-all-errors | flow-result-checker -d ./flow"
  },
  "dependencies": {
    "flow-bin": "x.x.x"
  }

with npm:
npm run flow will only print errors in your code
npm run flow-with-save will print errors in your code, but save the whole result in ./flow/results.txt

with yarn:
yarn flow will only print errors in your code
yarn flow-with-save will print errors in your code, but save the whole result in ./flow/results.txt

FAQs

Package last updated on 04 Oct 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc