@peregrinecms/page-transition-speed

0.0.2 • Public • Published

PTS - Page Transition Speed

A simple tool to measure page transition speed with google chrome/puppeteer

Prerequisites

Install puppeteer.

npm i puppeteer-core

Installing PTS

npm install pts -g

Running PTS

pts <url> <targetLink>

The tool opens a browser with and then finds a link with href=<url2> and clicks it. If no link can be found it will output all possible links

The output is a list of 5 tries performing that click.

Example:

pts https://www.peregrine-cms.com/ /content/sites/peregrine/about.html

For more command line options please use

pts -h
Usage: pts [options] <url> <targetLink>

Options:
  --version       Show version number               [boolean]
  -h, --help      Show help                         [boolean]
  -t, --throttle  throttle connection               [boolean]
  -r, --repeat    repeat test x times            [default: 5]
  -s, --show      show browser                      [boolean]

Readme

Keywords

none

Package Sidebar

Install

npm i @peregrinecms/page-transition-speed

Weekly Downloads

4

Version

0.0.2

License

Apache-2.0

Unpacked Size

4.57 kB

Total Files

4

Last publish

Collaborators

  • hsaginor
  • reusr1