GWG SEO Docsv0.1.0

Build with it

Use the Node.js library

Call the report engine from your own application. Keep report inputs, coverage checks, and storage decisions explicit.

For v0.1.0 · Updated November 23, 2026

Install the ESM package

Terminal
npm install @getwickedgrowth/seo@0.1.0

Use Node.js 22.19.0 or newer. The package includes TypeScript declarations and uses ESM exports. CommonJS applications can load it through dynamic import(). Importing the package does not launch the CLI.

Audit a URL from code

JavaScript
import { auditPage } from '@getwickedgrowth/seo';

const report = await auditPage({
  url: 'https://www.example.com/'
});
console.log(report.coverage);
console.log(report.findings);

Check coverage.status and coverage.reasons before using findings in a task queue. Preserve the URL and verification step when passing a finding to another system.

Run a report by ID

JavaScript
import { runReport, LocalStore } from '@getwickedgrowth/seo';

const report = await runReport('site.crawl', {
  url: 'https://www.example.com/',
  maxPages: 10,
  maxDepth: 2
});
const id = await new LocalStore().save(report);
console.log({ id, coverage: report.coverage });

The library uses the same validated input schemas as the CLI and MCP server. Google calls take a GoogleContext; consult the exported TypeScript definitions for token, store, and injected-fetch options.

Decide what your application owns

  • Scheduling, retries, queues, and retention policies belong to your application.
  • Review report limits before treating “complete” as site-wide coverage.
  • Keep the package server-side. It handles network access and may use local state or credentials; it is not a browser bundle.

For the full exported API and types, review the package source. For agent tool calls, use the MCP interface.

BUILD WITH THE EVIDENCE

Want an audit to become part of your GTM system?

Work with Vikash