# GoogleChromeLabs/psi

PageSpeed Insights Reporting for Node

Repository: https://github.com/GoogleChromeLabs/psi
Canonical: https://ross.abutalabs.com/products/psi
Language: JavaScript
License: Apache-2.0
License Family: permissive
Archived: true
Last push: 2021-04-10T00:13:45+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4482, "days_push": 1972, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3101, forks 123 (observed 2026-08-28T04:07:43.570488+00:00)

## What it is
A Node.js library and CLI wrapper around Google's PageSpeed Insights v5 API that runs mobile and desktop performance tests on deployed sites. It returns speed and usability scores programmatically and can output formatted reports for build processes.

## Use cases
- run pagespeed tests on my site from node
- check page speed score in ci build
- get lighthouse performance score via api
- measure website performance mobile and desktop
- fail build if pagespeed score below threshold
- output pagespeed report to terminal

## When to choose
- you want to automate PageSpeed Insights checks in a Node build or CI pipeline
- you need programmatic access to speed and usability scores for deployed URLs
- you want a quick CLI to test a page's performance

## When to avoid
- you need local Lighthouse audits of non-deployed or localhost pages
- you need detailed lab metrics beyond what the PSI API returns
- you need a actively developed tool - releases stopped in 2021

## Facets
- artifact type: library
- maturity: maintenance
- function: monitoring, benchmarking, http-client, cli
- domain: web-development, performance, developer-tools, analytics
- platform: cli, cross-platform
- tags: pagespeed-insights, lighthouse, web-performance, performance-budget, npm-package, nodejs

## Member repositories
- GoogleChromeLabs/psi (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:43.570488+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:26:59.322969+00:00, confidence not recorded.
  - readme: https://github.com/GoogleChromeLabs/psi (fetched 2026-08-28T04:07:43.570488+00:00, sha b326f289fd44)
  - registry_npm: https://registry.npmjs.org/psi (fetched 2026-08-29T09:42:26.431667+00:00, sha c064870fac9d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
