Public data, updated November 19, 2026 Sources: NHTSA, EPA, AFDC

Methodology

How this site gets a number onto a page

kWhWise is an energy-data site for people shopping a used EV. The nightly job pulls public files, writes JSON, and rebuilds the HTML. A page is published only when the data clears a thin-content rule. The snapshot on this build is November 19, 2026.

Sources

Rules the generator follows

What we leave out

Update cadence

A single command, npm run ship, refreshes the public files, releases queued pages, builds the static site, and prints what changed. The launch set goes out on the first run. After that, each run publishes up to 15 ready pages that were waiting in data/queue.json. Re-running on the same day reuses the HTTP cache, so it does not hammer the APIs. The AFDC file is cached longer when the only key available is the shared demo key, which allows about 50 requests a day.

The build writes static HTML to dist/. It does not need a server, an API key, or a database. Deploy that folder to Cloudflare Pages.

Thin pages

A model year needs an EPA battery-electric row, or at least one recall, or at least 8 complaints. A best-and-worst page needs three published years. A comparison needs one shared year with EPA range on both sides. A state page needs at least 15 public sites. A city page needs at least 40, plus a connector or network breakdown. Anything short of that stays out of the HTML.