Loading
Code Deb

Code Deb SEO Audit

Detect duplicate metadata, canonical issues, broken crawled links and orphan signals. Bounded traversal over an application-owned fetch adapter. TypeScript examples, API reference and installation guidance.

Technical documentation for 27 Code Deb JavaScript and TypeScript SDKs, Verify and MCP APIs and the developer platform. Browse API references, authentic implementation examples and provider boundaries. Check actual npm availability before installing.

Target release: @codedeb/seo-audit@0.1.0 passed isolated ESM installation and TypeScript checks. Its public npm publication has not been independently verified; check the registry before installation.

Technical SEO analysis — intended for developers building reliable storefronts, search infrastructure and production applications. Unlike a hosted platform, the SDK does not require a Code Deb account for its pure functions.

Build, test and stage

npm ci
npm run test:nepal-sdks
npm run sdk:pack:verify
node scripts/sdk/stage-npm-package.mjs sdk-seo-audit

These commands prepare the candidate without publishing it. Review the generated .sdk-artifacts/npm-stage/sdk-seo-audit contents and all licenses. After a successful, independently verified npm release, the installation command will be npm install @codedeb/seo-audit. Do not advertise this command as publicly working before release verification.

Quickstart using implemented exports

import {auditSeoPages} from '@codedeb/seo-audit';
const report=auditSeoPages([{url:'https://example.com/',status:200,html:'<title>Home</title>'}]);
console.log(report.findings);

Public API contract

Entry point or functionResponsibility
collectPageSignals(page)Parse titles, descriptions, canonical/hreflang, links and headings from source HTML
auditSeoPages(pages)Detect duplicates, orphan signals, bad canonical and broken crawled links
crawlSameOrigin({root,fetchPage})Bounded same-origin traversal using an authorized caller-owned fetch adapter

Production integration

Do not crawl client sites without authorization. The fetch adapter must implement robots.txt, rate limits, safe DNS resolution and SSRF protection. Reports are technical hints; Google rendering and indexing are separate.

The published SDK must have bounded resource use, correct authentication boundaries where applicable, and tests for malformed input. Caller-owned storage, OAuth, background jobs or hosted services must be configured explicitly rather than invented by the library.

Compatibility and release history

  • 0.1.0 candidate — 21 November 2026: First implementation of the documented independent module, subject to the complete release gate.
  • JavaScript ESM with generated TypeScript declarations; Node.js 20+ for Node execution.
  • No npm publication, hosted API, SLA, vendor certification, ranking guarantee or customer data access is implied by this candidate.
  • Code Deb-owned package code is intended for Apache-2.0 distribution. Third-party dependencies, data and trademarks retain their own terms.

Integration design walkthrough

  1. Use an authorized same-origin fetch adapter with bounded page count and timeouts.
  2. Observe real HTTP status, canonical tags, titles and internal links.
  3. Distinguish true orphan evidence from pages the crawler could not access.
  4. Enforce SSRF protection, robots policy and safe DNS checks in the caller's crawler.

Release verification and package installation

npm view @codedeb/seo-audit@0.1.0 version
# Only after the registry returns this exact version:
npm install @codedeb/seo-audit@0.1.0

Never confuse a passing local package/TypeScript test with accepted npm publication. The npm registry must expose version metadata, the expected latest dist-tag and a retrievable tarball before the release is announced as installable. The source repository and customer integrations remain private.

Production acceptance checklist

  • Exercise normal, empty and malformed input using the documented ESM exports.
  • Compare results with source HTML or authorized external API evidence, not generated placeholder data.
  • Implement explicit failure handling, timeouts and limits in any caller-owned network adapter.
  • Record meaningful audit findings and version-specific regressions without claiming search rankings or Google approval.

Common problems

Version not found: Confirm the package's exact version on npm; its release may still be pending. Unexpected findings: Compare real captured HTML and HTTP status with your audit inputs. Third-party integration fails: Verify your own OAuth, hosting, robots compliance and network policies; the SDK never grants external access.

seo monitor · launch guard · All developer SDKs · Engineering resources

More from Code Deb

Read about our agency, explore available services, or contact the team for a project discussion.