What is seo-analyzer?
seo-analyzer is an open-source Node.js tool for automated SEO audits. You point it at a URL or HTML content and it checks for: title tag presence and length, meta description, canonical tags, heading hierarchy (H1-H6), image alt attributes, robots meta directives, structured data presence, and other on-page SEO factors. Results are returned as JSON, making it suitable for CI/CD integration.
Is seo-analyzer free?
Completely free and open source. Install via `npm install seo-analyzer` and use as a CLI tool or import as a Node.js library. No API keys, no subscriptions, no external service dependencies. Self-contained Node.js package.
How do I use seo-analyzer in CI/CD?
Import it as a Node.js module in your test suite or GitHub Action. After deploying a page, run seo-analyzer against it and assert that required SEO elements are present: title exists, meta description is within character limits, H1 is present, images have alt text. This catches SEO regressions before they reach production — similar to running unit tests but for SEO compliance.
What SEO issues does seo-analyzer detect?
seo-analyzer checks: title tag (presence, length 50-60 chars), meta description (presence, length 150-160 chars), canonical link, H1 presence and uniqueness, H2-H6 structure, image alt attributes, robots meta tag, Open Graph tags, Twitter Card tags, structured data (schema.org JSON-LD), and page indexability signals.