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

@piercebarney/whs-eleventy

v2026.10.4

Published

The web house style's Eleventy + Netlify tooling — the compliance sweep, the infra doctor, the link/CSP integrity check, and the a11y scan, shared by every project on the stack.

Readme

@piercebarney/whs-eleventy

The web house style's Eleventy + Netlify tooling — one shared copy of the checks every project on the stack runs, so a fix lands once and npm update carries it everywhere.

whs compliance [--strict]              codebase-vs-standard conformance sweep
whs doctor [--live|--deploy-preflight] infrastructure drift check
whs links                              built-output link / CSP / JSON-LD integrity
whs a11y                               axe-core WCAG 2.1 A/AA scan of _site/
whs content-check                      lint · validate · build · links (no browser)
whs --version                          tooling + bundled-standard version

Each subcommand resolves the project against the current working directory and expects the eleventy-netlify layout (src/_data/*.js, netlify.toml, _site/, test/). It is not configurable — projects on this stack are copies of templates/eleventy-netlify/ and share that shape.

Install

npm i -D @piercebarney/whs-eleventy

Then in package.json:

{
  "scripts": {
    "links": "whs links",
    "a11y": "whs a11y",
    "doctor": "whs doctor",
    "compliance": "whs compliance",
    "content-check": "whs content-check"
  }
}

The /audit/ data files import the API directly:

const { runCompliance, summarize } = require("@piercebarney/whs-eleventy/lib/compliance.js");
const { runRepoChecks, readCache } = require("@piercebarney/whs-eleventy/lib/doctor.js");

The bundled standard

whs compliance's drift check reads core.md + CHANGELOG.md to compare the project's standard-version pin against the current standard. The package ships a snapshot of both under standard/, cut when the version is published. Override with WHS_STANDARD=/path/to/web-house-style (the authoring repo points this at itself). When neither resolves, the drift row is a visible MANUAL, never a silent pass.

Not in this package

scripts/og.js, scripts/icons.js, scripts/og-card.js stay in the project — they are asset generators wired into the eleventy build, with a per-project page list and card design.