npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

netlify-plugin-adpages-build-audit

v0.1.0

Published

Netlify Build Plugin that audits generated static HTML for lightweight local landing-page QA signals.

Downloads

8

Readme

AdPages Build Audit for Netlify

Netlify Build Plugin scaffold for lightweight static landing-page QA.

The plugin runs after a Netlify build, walks the generated publish directory, inspects .html files, and prints a local summary for common paid-traffic and local SEO readiness signals:

  • <title> quality
  • meta description
  • H1 presence
  • obvious CTA links, buttons, forms, phone, or email links
  • common analytics/conversion tracking markers
  • JSON-LD or schema.org structured-data markers
  • canonical URL
  • responsive viewport tag

It does not fetch URLs, call third-party APIs, execute browser JavaScript, inject backlinks, or send page contents anywhere.

Status

This is a distribution-ready scaffold, not a submitted Netlify integration.

Before publishing:

  • replace placeholder repository, support, author, and package ownership metadata;
  • add a real license file and changelog;
  • test in at least one deployed Netlify site using netlify build;
  • decide whether the package should remain a Build Plugin or move to a newer Netlify SDK extension surface later.

Local Usage

From a Netlify site repository, add the plugin as a local plugin:

[[plugins]]
package = "./integrations/netlify/adpages-build-plugin"

  [plugins.inputs]
  failOn = "never"
  maxPages = "50"
  reportPath = "adpages-build-audit.json"

For an npm-published version, install the package and use the package name:

[[plugins]]
package = "netlify-plugin-adpages-build-audit"

  [plugins.inputs]
  failOn = "error"

Inputs

| Input | Default | Description | | --- | --- | --- | | publishDir | constants.PUBLISH_DIR | Optional publish directory override. | | maxPages | 50 | Maximum number of HTML files to inspect. | | reportPath | adpages-build-audit.json | JSON report path relative to the site base directory. Use an empty value to skip writing a report. | | failOn | never | Build failure mode: never, error, or warning. | | ignoredDirs | built-in static asset folders | Comma-separated directory names to skip while walking the publish directory. |

Local Smoke Test

npm --prefix integrations/netlify/adpages-build-plugin run check
npm --prefix integrations/netlify/adpages-build-plugin run smoke

The smoke test scans examples/site and writes examples/reports/adpages-build-audit.json.

Output

Build logs include a concise summary:

AdPages Build Audit
Publish directory: /site/dist
HTML files scanned: 4/4
Checks: 25 passed, 5 warnings, 2 errors
Pages needing attention:
- pricing/index.html: cta: No obvious CTA signal found.

The JSON report contains per-page fields, detected signal examples, checks, recommendations, and rollup totals.

Limitations

  • Static HTML only. Client-rendered titles, schema, CTAs, and tracking must already exist in generated HTML.
  • Tracking detection is marker-based and does not prove analytics delivery or conversion firing.
  • Schema detection reports JSON-LD and schema.org markers, but does not validate schema.org compliance.
  • The plugin is intentionally local-first and dependency-free; richer browser or URL crawling belongs in a future explicit adapter.