{"_id":"@a1local/adpages-audit-core","name":"@a1local/adpages-audit-core","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@a1local/adpages-audit-core","version":"0.1.0","description":"Local-first landing page, UTM, schema, and ads-copy checks for AdPages tools.","type":"module","license":"MIT","author":{"name":"A1 Local","url":"https://a1local.com.au/"},"homepage":"https://github.com/a1local/adpages-audit-core#readme","repository":{"type":"git","url":"git+https://github.com/a1local/adpages-audit-core.git"},"bugs":{"url":"https://github.com/a1local/adpages-audit-core/issues"},"funding":{"type":"custom","url":"https://a1local.com.au/extensions/"},"publishConfig":{"access":"public"},"sideEffects":false,"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"devDependencies":{"typescript":"^5.9.3"},"gitHead":"0051b08e303680b1f851a3980ab4207b2b954405","_id":"@a1local/adpages-audit-core@0.1.0","_nodeVersion":"25.9.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-xZPS4dRrUZNcyltnERtT0/dh3oRyh8WVugIwPp7fvhkbxvyhjOecyS5hXO0FxhvkpoDKdSAxnYB/kgYoyBlb7g==","shasum":"47e8b1fcce2039591b1a89687418cb27ce76c811","tarball":"https://registry.npmjs.org/@a1local/adpages-audit-core/-/adpages-audit-core-0.1.0.tgz","fileCount":30,"unpackedSize":73945,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCfjxFoBDErXdKuHuT5S6pSnmnY1SQbf1Etc8hr5kAEvgIgHElWD3TLx8wUyM6qrHdISBpZmFsBN0V5165hNUWAzWk="}]},"_npmUser":{"name":"a1local","email":"extensions@a1local.com.au"},"directories":{},"maintainers":[{"name":"a1local","email":"extensions@a1local.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/adpages-audit-core_0.1.0_1779689230573_0.15624986617645997"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-25T06:07:10.393Z","0.1.0":"2026-05-25T06:07:10.733Z","modified":"2026-05-25T06:07:10.979Z"},"maintainers":[{"name":"a1local","email":"extensions@a1local.com.au"}],"description":"Local-first landing page, UTM, schema, and ads-copy checks for AdPages tools.","homepage":"https://github.com/a1local/adpages-audit-core#readme","repository":{"type":"git","url":"git+https://github.com/a1local/adpages-audit-core.git"},"author":{"name":"A1 Local","url":"https://a1local.com.au/"},"bugs":{"url":"https://github.com/a1local/adpages-audit-core/issues"},"license":"MIT","readme":"# @a1local/adpages-audit-core\n\nShared local-first checks for lightweight AdPages tools.\n\nThis package is the neutral engine that future wrappers can publish to:\n\n- browser extensions\n- npm packages\n- CLI tools\n- GitHub Actions\n- Astro integrations\n- VS Code extensions\n- WordPress plugins\n- Google Sheets add-ons\n- n8n nodes\n- MCP servers\n\nThe first release focuses on paid-traffic landing page readiness, UTM helpers, LocalBusiness schema generation, and Google Ads copy validation.\n\n## Principles\n\n- Keep checks deterministic and explainable.\n- Separate page capture from rule evaluation.\n- Do not fetch remote pages unless a wrapper explicitly owns that behavior.\n- Do not collect or transmit user data.\n- Keep every wrapper single-purpose for marketplace review.\n\n## Basic Usage\n\n```ts\nimport {\n  auditLandingPageSnapshot,\n  capturePageAuditSnapshot,\n  renderAuditMarkdown\n} from \"@a1local/adpages-audit-core\";\n\nconst snapshot = capturePageAuditSnapshot(document, window.location);\nconst audit = auditLandingPageSnapshot(snapshot);\nconst markdown = renderAuditMarkdown(audit);\n```\n\n## Wrapper Targets\n\n| Wrapper | First useful product | Marketplace |\n| --- | --- | --- |\n| Browser extension | AdPages Landing Page QA Scanner | Chrome, Edge, Firefox |\n| CLI | `adpages audit <url>` | npm, GitHub, Homebrew later |\n| GitHub Action | Preview URL landing page gate | GitHub Marketplace |\n| Astro integration | metadata/schema/CTA validation | npm, Astro ecosystem |\n| VS Code extension | schema, UTM, ads-copy helper | VS Code Marketplace, Open VSX |\n| WordPress plugin | UTM capture plus page checklist | WordPress.org |\n| Sheets add-on | UTM builder and copy checker | Google Workspace Marketplace |\n| n8n node | audit URL, generate UTM, validate copy | npm, n8n community |\n| MCP server | agent-callable audit and generators | GitHub, MCP directories |\n\n## Package Scope\n\nThis package does not include store-specific copy, payment logic, remote crawling, analytics, or license verification. Those belong in wrappers.\n","readmeFilename":"README.md","_rev":"1-c89e2685148e47d80966c4a6ccf9ec27"}