Web QA
siteprobe
A fetch-only security headers checker and website scanner: about a hundred security, SEO and speed checks, with a score and a fix hint for each finding.
A broken link checker and launch checklist for a static site build: SEO basics, links and assets, redirects, share cards, icons, JSON-LD and old-URL coverage.
npm install -D static-preflightstatic-preflight is a broken link checker that runs on the HTML your build wrote, before you deploy. It works with Next.js (output: export), Astro, Eleventy, Hugo, or anything else that writes HTML files, and fails the build when a launch would go wrong: a page without a title or description, a broken internal link or image, a share card pointing at a missing file, an old URL that no longer lands anywhere.
Link checkers such as linkinator look at links only, and html-validate looks at markup; neither knows about SEO basics, share cards, icons, JSON-LD or _redirects. This one does, in a single zero-dependency pass over a folder. It started as the pre-launch check run on every static site DeveloperLook ships.
{
"scripts": {
"build": "next build",
"postbuild": "static-preflight out"
}
}npx static-preflight outstatic-preflight out --forbid-noindex --legacy-urls old-urls.txt --require-jsonld 'Product=/products/*'description (1)
/contact/index.html: no meta description
alt (1)
/menu/index.html: image without alt: /img/loaf.jpg
links (1)
/contact/index.html: broken link /old-contact
anchors (1)
/menu/index.html: anchor #pastries has no target
srcset (1)
/products/sourdough/index.html: missing srcset image: /img/[email protected]
stylesheets (1)
/assets/site.css: missing file in url(): /img/bg.png
noindex (1)
/contact/index.html: has a noindex robots tag
share-card (4)
/contact/index.html: no og:title
/contact/index.html: no og:description
/contact/index.html: no og:image
/contact/index.html: no twitter:card
jsonld (1)
/products/sourdough/index.html: no Product JSON-LD
redirects (1)
redirect /menu hides the page /menu
legacy-urls (2)
old URL /product/rye-bread/ has no page and no redirect
old URL /about-us/ has no page and no redirect
15 problems found. Checked 5 pages and 3 old URLs.import { preflight } from 'static-preflight';
const { pages, problems } = preflight('out', {
noindex: 'forbid',
requireJsonLd: [{ type: 'Product', pattern: '/products/*' }],
});
for (const { check, page, message } of problems) console.log(`${check} ${page ?? ''} ${message}`);
if (problems.length) process.exitCode = 1;static-preflight [dir] [--expect-noindex | --forbid-noindex] [--legacy-urls file] [--require-jsonld Type=/pattern/*] [--skip check,check] [--json]Build the site, then run npx static-preflight out (or the folder your build writes). Every broken internal link, image, stylesheet and script is listed with the page it is on, and the command exits 1 so a CI build fails.
No. It is an internal link checker: external URLs are never fetched, so a build does not fail because another site was down. It checks that internal links, anchors and files resolve inside the built folder.
The checks cover the usual ones: a title, description and single h1 on every page, alt text, working links and assets, share card tags and image, icons, valid JSON-LD, redirects that land on real pages, old URLs that still resolve, and no noindex left on at launch.
Any that write HTML files to a folder: Next.js with output: export, Astro, Eleventy and Hugo are the ones the README names. It needs Node 20 or later and has no runtime dependencies.
Web QA
A fetch-only security headers checker and website scanner: about a hundred security, SEO and speed checks, with a score and a fix hint for each finding.
Web QA
Find redirect chains, loops and clashes in a whole rule set, then flatten every chain to one hop before you ship.
Web QA
Responsive design testing that measures the layout at every viewport width: overflow, clipping, inconsistent insets and radii, low-resolution images and layout shift.
Author
Saimul Islam is a Forward Deployed Engineer and Solutions Architect. Several of these packages run in production on DeveloperLook, the Bundlewise CRM and Sitessa.