New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

site-speed

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

site-speed

PageSpeed Insights for your site

latest
Source
npmnpm
Version
0.0.6
Version published
Maintainers
1
Created
Source

site-speed

Runs PSI (PageSpeed Insights) for your site

Install

$ npm install --save site-speed

Usage

var ss = require('site-speed');

var options = {
    output: 'example_', // default: "./data/"
    primer: true, 		// default: false
    googleKey: 'xxxxxxxx-xxxx'
}

var pages = [
    'https://github.com/',
    'https://www.google.com/',
]

ss.run(pages, options)

primer used to hit page once before collecting speed data in case the cache needs to be primed.

output folder or prefix of files to be saved.

CLI

$ npm install --global site-speed

Latest

  • Added YellowLab Tools as second engine to generate speed statistics

ToDo

  • Add enpoint to hit before/after running tests

Keywords

psi

FAQs

Package last updated on 08 Sep 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