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

@statoscope/stats-validator-reporter-stats-report

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@statoscope/stats-validator-reporter-stats-report

Stats report reporter for @statoscope/stats-validator

  • 5.7.0-alpha.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9.4K
increased by67.77%
Maintainers
1
Weekly downloads
 
Created
Source

stats-validator-reporter-stats-report

npm version Support

UI reporter for @statoscope/stats-validator.

Injects validator's result into stats and generates a Statoscope report

Options

type Options = {
  saveReportTo?: string; // a path to save HTML report (temporary dir with random file name by default)
  saveStatsTo?: string; // a path to save JSON stats (does not save stats by default)
  open?: boolean; // open generated Statoscope report (false by default)
};

Examples

statoscope.config.js:

{
  "validate": {
    "reporters": [["@statoscope/stats-report", { "open": true }]]
  }
}

Generate UI report and open it.

statoscope.config.js:

{
  "validate": {
    "reporters": [["@statoscope/stats-report", { "saveStatsTo": "/path/to/new/stats.json" }]]
  }
}

Just inject validation result into stats and save it.

FAQs

Package last updated on 31 Aug 2021

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