# sindresorhus/pageres

Capture website screenshots

Repository: https://github.com/sindresorhus/pageres
Canonical: https://ross.abutalabs.com/products/pageres
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2025-09-09T21:28:45+00:00

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

## Adoption (not part of the score)
Stars 9735, forks 721 (observed 2026-08-28T04:10:37.011129+00:00)

## What it is
A Node.js library for capturing website screenshots at multiple resolutions using headless Chrome (Puppeteer). It supports custom CSS/JS injection, cookies, delays, and can render SVG and raw HTML.

## Use cases
- capture screenshots of websites at multiple resolutions
- test responsive web design across screen sizes
- generate website thumbnails programmatically
- render HTML or SVG to PNG images
- automate visual snapshots of web pages in CI

## When to choose
- you need a programmatic Node.js API for bulk website screenshot capture
- you want to verify responsive layouts at many viewport sizes
- you need to render HTML/SVG to images with custom CSS, JS, or cookies

## When to avoid
- you only need a command-line tool (use pageres-cli instead)
- you need full browser automation beyond screenshots (use Puppeteer directly)
- your project is not JavaScript/Node.js based

## Facets
- artifact type: library
- maturity: active
- function: image-processing, http-client, developer-tools
- domain: web-development, developer-tools
- platform: cross-platform
- tags: screenshot, responsive-testing, puppeteer, headless-chrome, typescript, automation, nodejs

## Member repositories
- sindresorhus/pageres (main) score 44

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:37.011129+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-29T17:21:13.204840+00:00, confidence not recorded.
  - readme: https://github.com/sindresorhus/pageres (fetched 2026-08-28T04:10:37.011129+00:00, sha ef10a7317f97)
  - registry_npm: https://registry.npmjs.org/pageres (fetched 2026-08-29T08:21:06.407217+00:00, sha 91b82d592e43)
- Data as of 2026-08-30T08:39:29.467469+00:00.
