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

perf-audit

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

perf-audit

Generates a Markdown Performance Audit

  • 2.1.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

# Performance Audit Generator

Generates a markdown Performance Audit based on the results from web page test services.

Install

npm install -g perf-audit

## Usage

Available Options

-h, --help Displays instructions.

-o, --output Output path of the template. Defaults to stdout.

-s, --site The URL of the website being tested, or the site ID if using SpeedCurve.

-t, --testPlatform The platform you wish to get stats from. Options: SpeedCurve, WebPageTest

-a, --apiKey The API key for your chosen platform.

to, --timeout Set the timeout of WebPageTest results requests.

i, --testID Request results for a specific WebPageTest test.

SpeedCurve Example

Output to console;

  perf-audit -s <Site ID> -t SpeedCurve -a <API Key>

Output to .md file on Desktop;

  perf-audit -s <Site ID> -t SpeedCurve -a <API Key> -o ~/Desktop/test.md

WebPageTest Example

You will need an API key which is available from http://www.webpagetest.org/getkey.php.

Output to console;

  perf-audit -s <URL> -t WebPageTest -a <API Key>

Output to .md file on Desktop;

  perf-audit -s <URL> -t WebPageTest -a <API Key> -o ~/Desktop/test.md

Custom Timeout (default: 120) for WebPageTest results request;

  perf-audit -s <URL> -t WebPageTest -a <API Key> -to <seconds>

Generate report from existing WebPageTest results;

  perf-audit -s <URL> -t WebPageTest -a <API Key> -i <test ID>

FAQs

Package last updated on 21 Jan 2016

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