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

@salesforce/sfnext-audit

v0.1.2

Published

Deterministic pre-launch (go-live) readiness auditor for storefront-next customer projects, shipped as a TanStack Intent agent skill. Captures Lighthouse against the deployed site, runs a zero-dependency static engine, and produces a self-contained HTML d

Readme

@salesforce/sfnext-audit

Deterministic pre-launch (go-live) readiness auditor for storefront-next customer projects, shipped as a TanStack Intent agent skill.

It captures Lighthouse against the deployed site, runs a zero-dependency static engine over the project, and produces a self-contained HTML dashboard + markdown report graded against the Salesforce standard launch bar — a GO / GO-WITH-FIXES / NO-GO verdict across performance, best practices, accessibility, SEO, security, and customization drift.

What you get

Every run writes, under .site-audit/:

  • index.html — a self-contained dashboard (embeds the data, opens offline via file://). One card per captured page (home / PLP / PDP), a per-category breakdown, and the SSR render timeline. This is "what we saw" — share it directly.
  • SITE-AUDIT-REPORT.md — the markdown report.
  • audit.json — the deterministic single source of truth (see skills/site-audit/schema/).

Consumer quick start

You use this through a coding agent (Claude Code, Cursor, Copilot, Codex, …) that speaks TanStack Intent. See the Intent consumer guide.

  1. Install into the storefront-next project you want to audit:

    pnpm add -D @salesforce/sfnext-audit   # or: npm install -D @salesforce/sfnext-audit
  2. Confirm it's discovered:

    npx @tanstack/intent@latest list
    # → @salesforce/sfnext-audit  local  …  site-audit [lifecycle]
  3. (Optional) wire skill-loading guidance into your agent config (AGENTS.md / CLAUDE.md / …):

    npx @tanstack/intent@latest install
  4. Ask your agent for a pre-launch readiness audit of the project (give it the deployed/staging URL). The agent loads the skill —

    npx @tanstack/intent@latest load @salesforce/sfnext-audit#site-audit

    — then follows it: discovers the site's home / PLP / PDP pages, runs the engine, interprets the results per category, and reaches a verdict. The engine itself is available as a CLI:

    npx sfnext-audit --project <path> \
      --url home=<root> --url plp=<listing-url> --url pdp=<product-url> \
      --out <path>/.site-audit
  5. Open .site-audit/index.html to see the dashboard.

A deployed-URL capture adds ~3–5 min per URL; a home+PLP+PDP run is ~9–15 min. Run npx sfnext-audit --help for all options (--lighthouse run|reuse|skip, --only <dims>, …).

Requirements

  • Node.js ≥ 24
  • A deployed/staging URL for the site (Lighthouse capture). Without one, performance degrades to static-only and the gap is reported.
  • The engine analyzes the codebase statically — the project does not need to be runnable and you do not need its secrets.

Maintaining this package

The skill lives entirely under skills/site-audit/ (SKILL.md + the frozen bin/audit.mjs engine + lib/ + references/ + schema/ + audit.config.mjs). files: ["skills", "!skills/_artifacts"] in package.json is what gets published; the engine's imports resolve relative to their own location, so the whole tree ships together and runs from any consumer's node_modules.

npm install                                   # dev deps (@tanstack/intent)
npx @tanstack/intent@latest validate          # validate SKILL.md frontmatter + limits
npm pack --dry-run                            # preview the published tarball

Discovery relies on the intent field + the skills/ directory in package.json. Skill addressing is @salesforce/sfnext-audit#site-audit.

License

Apache-2.0.