deframer

Use deframer

Check an export

deframer verify compares an app you exported with the published site again.

npx deframer@latest verify ./site

Use it after you change the project, or after the published site changes. The folder must be one made by deframer create. It runs on your computer in Chromium; install it once with npx playwright install chromium.

How it finds the app

If something is already running on port 3000, deframer checks that. Otherwise it starts the app from its existing build. Use another port with --port:

npx deframer@latest verify ./site --port 4000

The result

It prints checks (hydration, console and failed requests), parity (how closely the pages match) and a report file. deframer create --verify runs the same check after a build. Add --json for JSON.