meta-beacon
audit titles and social tags
Audit titles, meta descriptions, Open Graph and Twitter/X card tags across a built static site: presence, duplicates in the head, length, absolute URLs and real og:image files (dimensions, format, size).
- 13/week on npm
- 2★
- MIT
- v1.0.1
- SEO & AEO
npx meta-beaconRead the full README on GitHub (opens in a new tab)View on npm (opens in a new tab)
meta-beacon
From the README
Every page needs a good title, a description and a share preview, and they break in small ways. A template change drops og:image from blog posts. A CMS emits two tags. Someone ships og:image="/img/share.png", but scrapers don't resolve relative URLs, so links shared on LinkedIn show no image. The share image is an SVG that Facebook won't render, or 300 px wide when 1200×630 is expected. meta-beacon reads every page in your build output and reports each of these problems with the file, line, severity and a concrete fix. It opens the real image files to check their format and dimensions.
npx meta-beacon dist # after your build
npx meta-beacon dist --base-url https://example.com --fail-on medium
npx meta-beacon _site --title-length 15-65 --description-length 70-155
npx meta-beacon out --exclude "drafts/**" --no-twitterWhere we use it
Related packages
SEO & AEO
- next-herald
typed SEO for Next.js
- answer-beacon
answer-engine readiness checks
- canonical-beacon
check canonical and hreflang
- heading-beacon
audit heading structure