Command-line tool · 2026

Caliper

Caliper opens your page in a real browser, feeds it the content real users bring, and shows what breaks. Every issue comes with a screenshot, the measurement that proves it, and the CSS that fixes it.

npx caliper-check https://your-site.com

npmGitHub

A vernier caliper measures a pay button. As the button’s label grows longer, the sliding jaw opens to fit it and the words past the button’s edge turn red. Then the button widens to meet the jaw.

One day

Designs get reviewed with short names and round numbers. Then a real day happens. Three screens from one, run through Caliper as built and again with the fix it recommended.

The same screen with the name on two lines and the green Call button back in place
Ride app: the driver’s name Muthukumaraswamy Ramalingam runs on one line and pushes the Call button past the edge of the screen
8:40 am. The cab is two minutes away. The driver’s name is long, and it pushes the Call button off the screen.Its row needs 402 px; the row gives 350 px. This item takes 282 px.
The same screen with the full label on two lines: Pay ₹1,24,500 to Sri Murugan Electricals & Contractors
Payment screen whose button reads “Pay ₹1,24,500 to Sri Murugan Elect…”
1:15 pm. Paying the electrician ₹1,24,500. The button stops before it says who gets the money.Its label needs 498 px; the button shows 350 px and ends in an ellipsis.
The same banner grown to fit its text, with both buttons in full
Train search with a cookie banner whose Reject and Accept buttons are cut off at the bottom of the screen
9:30 pm. Booking Appa’s train on his phone, where the text is set larger. The cookie banner keeps its height, and Reject and Accept slide out of sight.Its content needs 268 px of height; the box gives 200 px, and the rest is hidden.

The report

The worst issue comes first. Each one shows what was measured, the cause, and a fix picked for what the element is: names wrap once, button labels are never cut, prices never break. Copy a prompt for any issue into the AI assistant you use. Caliper itself uses no AI, so the same page gives the same report every time.

A Caliper issue: a button label is cut off. It shows the screenshot, the measurement, the cause, and the recommended CSS fix with a Copy prompt button.

Use it

It works on anything with a URL: a live site, a preview deploy, or localhost. Free and open source under the MIT licence. Needs Node 22.18 or newer.