0.4.1 • Published 11 months ago

website-performance-analysis-lighthouse-draft v0.4.1

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

Website Performance Analysis via Lighthouse

Usage

See Sample Client Repo Readme

Why do we have this library?

Google Lighthouse is an automated tool for improving the quality of web pages. This tool can be run against any web page, public or requiring authentication. It has audits for performance, accessibility, progressive web apps, SEO, and more.

We are currently using performance audit capability from Google Lighthouse

Concepts

Performance Monitor

Performance Monitor is the main process that triggers Throttled Audit for a specific WebPage (in a specific environment). The orchestrator is the easiest way to start the audit process and will make sure that the Report UI contains

Web Page

Web Page is the entity whose performance is measured.

Web Page contains two key properties : url and environment. Performance Monitor will start throttled audit session for a specific web page on a specific environment.

Lighthouse Audit

Lighthouse Audit is the atomic concept for Web Application Performance Analysis Library.

It is only responsible for running a lighthouse audit with a given set of configuration. In the case of Web Application Performance Analysis Library, the confuguration comes with throttling settings

Throttled Audit

Throttled Audit is a wrapper for Lighthouse Audit. It will contain relevant configuration and results for the lighthouse audit.

Throttled Audit Run

Thorttle Audit Run will run

Web Application List

Terminology

Audit

Report

ChartData

Prerequisites

  • Node js version 16 and above.

Push new versions of the package

export NPM_TOKEN=<your_token>

in .npmrc file, add following: //registry.npmjs.org/:_authToken=${NPM_TOKEN}

npm publish

Instructions

  • Install the package globally
npm i -g website-performance-analysis-lighthouse-draft 

Notes

git remote set-url origin git@github.com-kokenconsulting:kokenconsulting/website-performance-analysis-lighthouse-draft.git

0.1.0

11 months ago

0.3.0

11 months ago

0.1.2

11 months ago

0.0.3

11 months ago

0.2.0

11 months ago

0.1.1

11 months ago

0.1.7

11 months ago

0.4.1

11 months ago

0.0.5

11 months ago

0.1.3

11 months ago

0.0.4

11 months ago

0.1.6

11 months ago

0.1.5

11 months ago

0.0.2

12 months ago

0.0.1

12 months ago