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

@a1local/adpages-reporting

v0.1.0

Published

Dependency-free report formatting helpers for AdPages audit exports.

Readme

@a1local/adpages-reporting

Dependency-free report formatting helpers for AdPages exports.

This package is intentionally separate from @a1local/adpages-audit-core. It accepts plain audit-like objects and checklist-like rows, so browser extensions, the CLI, GitHub Actions, Google Sheets, WordPress, and later paid report surfaces can reuse the same export helpers without pulling in a specific audit engine.

What is included

  • CSV escaping and row formatting for spreadsheet-safe checklist exports.
  • Checklist CSV rows from generic result objects with fields like id, category, status, impact, title, summary, recommendation, evidence, and weight.
  • Client report metadata normalization for extension, CLI, GitHub Action, Sheets, WordPress, and paid report sources.
  • A simple JSON artifact wrapper for storing audit payloads, metadata, summaries, results, and report notes.
  • Report surface notes that mark current free exports and planned paid report formats.

Basic Usage

import {
  createClientReportMetadata,
  createJsonArtifact,
  createReportNotes,
  renderChecklistCsv
} from "@a1local/adpages-reporting";

const metadata = createClientReportMetadata({
  clientName: "Example Plumbing",
  projectName: "Emergency plumber landing page",
  url: "https://example.com/emergency-plumber/",
  source: "extension"
});

const csv = renderChecklistCsv(audit.results);
const artifact = createJsonArtifact({
  metadata,
  report: audit,
  notes: createReportNotes()
});

Free and Paid Surfaces

The free reporting surface should stay practical and portable:

  • CSV for spreadsheet review and lightweight handoff.
  • Markdown for readable local, CLI, GitHub Action, and pull-request comments.
  • JSON for extension storage, CLI output, automation artifacts, and integration handoff.

Later paid surfaces can build on the same metadata and normalized artifact:

  • branded PDF reports
  • batch client reports
  • white-label agency reports
  • Google Sheets add-on exports
  • WordPress admin reports

This package only prepares the shared reporting shape. It does not include PDF rendering, billing, license checks, remote crawling, account syncing, or WordPress/Sheets APIs.

Generic Audit Input

Helpers do not import @a1local/adpages-audit-core. They work with audit-core-like results, for example:

const rows = renderChecklistCsv([
  {
    id: "cta-phone",
    category: "conversion",
    status: "warn",
    impact: "important",
    title: "Phone CTA is hard to find",
    summary: "The primary phone CTA appears below the first viewport.",
    recommendation: "Move click-to-call into the hero."
  }
]);