A pitch to a local business works better with something the owner can read in two minutes. A Lighthouse score of 54 means nothing to a plumber. "Your site takes about 6 seconds to show on a phone, and the page has no description in Google" does. This post builds a small Node script that runs Lighthouse on a prospect's site and writes a plain-language Markdown report you can paste into an email, a proposal or a PDF.

Short answer: install lighthouse and chrome-launcher from npm, run Lighthouse programmatically on a mobile profile, read the category scores and a handful of individual audits from the result, and write them as a Markdown table plus a short list of checks in owner language. The whole script is about 60 lines, and it runs on one URL or a list of them.

How the Lighthouse prospect audit script works: launch Chrome, run Lighthouse on mobile, translate results, write Markdown

Why Lighthouse for a prospect audit?

The Chrome team describes it simply:

"Lighthouse is an open-source, automated tool to help you improve the quality of web pages."

Chrome for Developers, Lighthouse overview

It's free, it runs locally, and it covers the four areas an owner can relate to once you translate them: speed, accessibility, best practices and search basics. It also runs as a Node module, so you can script it instead of clicking through DevTools for every prospect.

Setup

mkdir prospect-audit && cd prospect-audit npm init -y npm i lighthouse chrome-launcher 

The script uses ES modules, so either name it audit.mjs or add "type": "module" to package.json. You need Chrome or Chromium installed. If it's in an unusual location, point CHROME_PATH at it.

The script

// audit.mjs: run Lighthouse on one URL and write a plain-language Markdown report. // Usage: node audit.mjs https://example.com "Business Name" import fs from 'node:fs/promises'; import lighthouse from 'lighthouse'; import * as chromeLauncher from 'chrome-launcher'; const url = process.argv[2]; if (!url) { console.error('Usage: node audit.mjs <url> [business name]'); process.exit(1); } const name = process.argv[3] || new URL(url).hostname; const chrome = await chromeLauncher.launch({ chromeFlags: ['--headless=new', '--no-sandbox'] }); const result = await lighthouse(url, { port: chrome.port, output: 'json', logLevel: 'error', onlyCategories: ['performance', 'accessibility', 'best-practices', 'seo'], formFactor: 'mobile', }); await chrome.kill(); const { categories, audits } = result.lhr; const score = (id) => Math.round((categories[id]?.score ?? 0) * 100); // Checks an owner can understand, in words they would use. const checks = [ ['viewport', 'The page is set up for phones'], ['document-title', 'The page has a title in Google results'], ['meta-description', 'The page has a description in Google results'], ['is-on-https', 'The site uses a secure connection'], ['image-alt', 'Images have text descriptions'], ['color-contrast', 'Text is easy to read against the background'], ['link-text', 'Links say where they go'], ]; const lines = []; lines.push(`# Website check: ${name}`); lines.push(''); lines.push(`Checked ${new Date().toISOString().slice(0, 10)} on a simulated phone. Page: ${url}`); lines.push(''); lines.push('| Area | Score (0 to 100) |'); lines.push('|---|---|'); lines.push(`| Speed on a phone | ${score('performance')} |`); lines.push(`| Accessibility | ${score('accessibility')} |`); lines.push(`| Best practices | ${score('best-practices')} |`); lines.push(`| Search basics | ${score('seo')} |`); lines.push(''); lines.push(`Largest content shows after about ${audits['largest-contentful-paint']?.displayValue ?? 'n/a'}.`); lines.push(''); lines.push('## What works and what needs attention'); lines.push(''); for (const [id, label] of checks) { const a = audits[id]; if (!a || a.score === null) continue; // not applicable on this page lines.push(`- ${a.score === 1 ? 'OK' : 'Needs work'}: ${label}`); } lines.push(''); lines.push('Scores change between runs. Treat them as a starting point for a conversation, not a verdict.'); const file = `report-${new URL(url).hostname}.md`; await fs.writeFile(file, lines.join('\n') + '\n'); console.log(`Wrote ${file}`); 

A few choices worth explaining:

  • Mobile profile. Most local customers find a business on a phone, so the report uses Lighthouse's mobile form factor.
  • Only four categories. Skipping the rest makes runs faster and keeps the report short.
  • Translated checks. Each Lighthouse audit ID maps to one sentence an owner would understand. Audits that don't apply to the page return a null score and are skipped.

What the report looks like

Here's the output from a deliberately rough test page served locally, so the scores reflect that page and nothing else:

# Website check: Smith Plumbing  Checked 2026-11-17 on a simulated phone. Page: http://localhost:8765/ | Area | Score (0 to 100) | |---|---| | Speed on a phone | 100 | | Accessibility | 71 | | Best practices | 86 | | Search basics | 82 | Largest content shows after about 0.6 s. ## What works and what needs attention  - Needs work: The page is set up for phones - OK: The page has a title in Google results - Needs work: The page has a description in Google results - OK: The site uses a secure connection - Needs work: Images have text descriptions - OK: Text is easy to read against the background - OK: Links say where they go Scores change between runs. Treat them as a starting point for a conversation, not a verdict. 

Lighthouse treats localhost as a secure origin, which is why the HTTPS check passes on this test page. Paste the report into an email as-is, or convert it to PDF with whatever you already use for proposals.

Running it on a list of prospects

Put one URL per line in urls.txt and loop over it. Running audits one at a time keeps the results more stable than running them in parallel on a laptop:

while read -r url; do node audit.mjs "$url" done < urls.txt 

Each run writes report-<hostname>.md. Read the reports before sending anything. A low score on a site the owner just paid for needs a careful message, not a pasted table.

Lighthouse findings translated into plain language for a small business owner

How to use the report in a pitch

The report is a conversation starter, not the pitch itself:

  1. Lead with one finding the owner can verify on their phone in ten seconds.
  2. Attach the report for the details, rather than pasting every score into the email.
  3. Offer one concrete fix, such as a mockup of a faster homepage, instead of a full redesign quote.
  4. Re-run after launch and send the before-and-after. That second report is great for a case study.

If you don't have a list of prospects yet, you can build one by searching a trade in your city and opening each site on your phone. A lead tool like LeadReef can also list local businesses whose websites are outdated, broken on mobile or missing, by city and trade, and the first search is free.

Limitations to keep in mind

  • Scores vary between runs. Network, CPU load and third-party scripts all move the numbers. Say "about" in your message.
  • Lighthouse audits one page. The homepage is usually enough for a first conversation, but it isn't a full site audit.
  • Some checks need context. A missing description might be fine on a page you don't want indexed. Read before you send.
  • Be polite with other people's servers. Audit a handful of pages per site, not the whole site, and never in a tight loop.

Quick reference

  • npm i lighthouse chrome-launcher, then run Lighthouse with formFactor: 'mobile'.
  • Read lhr.categories[id].score for the four category scores.
  • Read lhr.audits[id] for single checks; skip ones with a null score.
  • Write Markdown with plain-language labels, and re-run after launch for a before-and-after.

Sources (checked November 2026): Chrome for Developers, "Introduction to Lighthouse" (developer.chrome.com/docs/lighthouse/overview); lighthouse package on npm (version 12).