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

@onaccessible/cli

v1.1.0

Published

CLI for ON ACCESSIBLE WCAG 2.2 accessibility audits — headless browser, pixel contrast, CI gates

Readme

@onaccessible/cli

Run WCAG accessibility audits from the terminal or CI.

Requires a Premium API token from Portal → API & Webhooks.

Install

Published on npm as @onaccessible/cli.

npm install -g @onaccessible/cli
# or run without install:
npx @onaccessible/cli audit https://example.com --help

From this repo without publishing:

node packages/cli/bin/onaccessible.mjs audit https://example.com ...

Quick start

export ONACCESSIBLE_API_TOKEN="oa_…"
export ONACCESSIBLE_ANON_KEY="eyJ…"   # Supabase publishable key (see docs/api)

onaccessible audit https://example.com
onaccessible audit https://example.com --min-score 90 --max-critical 0
onaccessible audit https://example.com --json --details
onaccessible audit https://example.com --mobile-viewport --min-score 85
onaccessible audit https://app.example.com/dashboard --cookie-header "session=…"

Options

| Flag | Description | |------|-------------| | --min-score | Exit 1 if score below threshold | | --max-critical | Exit 1 if critical count exceeds limit | | --max-serious | Exit 1 if serious count exceeds limit | | --mobile-viewport | Second headless pass at 390×844 | | --cookie-header | Scan behind login (Premium API) | | --ai | Advanced AI audit | | --no-headless | Static HTML fetch only | | --json / --details | Full API response |

Summary output (default)

Without --details, the API still returns enrichments the CLI prints when present:

  • categoryScores — POUR principle breakdown
  • viewportProfiles.mobile — mobile score, categoryScoreDeltas, mobile pixelContrast
  • screenReaderPreview.regression — desktop vs mobile announcement diff counts
  • historicalRegression — diff vs your prior snapshot for the same URL (2nd+ scan)
  • pixelContrast — desktop computed-style contrast sampling

CI example

- run: npx @onaccessible/cli audit https://example.com --min-score 90 --max-critical 0
  env:
    ONACCESSIBLE_API_TOKEN: ${{ secrets.ONACCESSIBLE_API_TOKEN }}
    ONACCESSIBLE_ANON_KEY: ${{ secrets.ONACCESSIBLE_ANON_KEY }}

Or use the bundled GitHub Action from this repo.

Exit codes

| Code | Meaning | |------|---------| | 0 | Scan passed thresholds | | 1 | Scan failed thresholds or API error | | 2 | Invalid usage |