Skip to content

page-as-data

v0.2.1

Read a web page as data instead of a screenshot: what is on screen, what broke behind it, and layout defects at phone and desktop widths.

Install in your project
npx @keenskills/page-as-data init

Read a web page as data instead of a screenshot.

When you, or an AI coding agent, fix a bug in a web app, you usually take a screenshot and look at it. A screenshot shows pixels. It cannot tell you that a button is cut off by its container, that a request failed with a 404, or that the page threw an error while loading. page-as-data tells you all of that as plain text or JSON, in one command.

Take a screenshot only for what data cannot answer: images, charts, and "does it look right overall".

How page-as-data helps

Full guide: docs/usage.md.

Docs