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

breakpoint-collage-diff

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

breakpoint-collage-diff

Playwright CLI to collage breakpoints and diff against baselines.

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source
breakpoint-collage-diff hero

Breakpoint Collage Diff

Collage all breakpoints and catch visual regressions fast. Posts a PR comment with a single collage image.

Type: CLI (Node.js)

CI Release License Stars

[!IMPORTANT] This tool loads URLs in headless Chromium. Run it only against pages you trust.

Highlights

  • Captures multiple breakpoints with Playwright.
  • Generates collage and diff artifacts for PRs.
  • Threshold-based pass/fail for regressions.

Output

Output Preview

Example artifacts live in examples/.

Need help? Start with docs/troubleshooting.md.

Baselines live in baseline/ by default. Update with --update-baseline.

Quickstart

npx breakpoint-collage-diff --url https://example.com

CI in 60s

- name: Install Playwright browsers
  run: npx playwright install --with-deps
- name: Capture collages
  run: npx breakpoint-collage-diff --url https://example.com --max-diff-pct 0.01

Demo

Demo

breakpoint-collage-diff --urls urls.txt --breakpoints 375,768,1280

Compatibility

  • Node.js: 20 (CI on ubuntu-latest).
  • OS: Linux in CI; macOS/Windows unverified.
  • External deps: Playwright browsers (npx playwright install).

Guarantees & Non-Goals

Guarantees

  • Pixel diff computed via pixelmatch with explicit thresholds.
  • Baselines stored locally in your repo.

Non-Goals

  • Not a hosted visual regression service.
  • Pixel-perfect parity across OS/font stacks is not guaranteed.

Docs

  • Requirements
  • Usage
  • Stability
  • Baselines
  • Output
  • Troubleshooting
  • Guarantees & Non-Goals
  • Constraints

More: docs/README.md

Examples

See examples/README.md for inputs and expected outputs.

Used By

Open a PR to add your org.

Contributing

See CONTRIBUTING.md.

License

MIT

FAQs

Package last updated on 05 Feb 2026

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