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

@d-zero/a11y-check

v0.10.13

Published

Accessibility Checker CLI

Readme

@d-zero/a11y-check

ウェブサイトのアクセシビリティチェック CLI。Puppeteer でページを検証し、Google スプレッドシートにレポート出力する。

Installation

yarn add @d-zero/a11y-check

Usage

npx @d-zero/a11y-check <url>... [options]
npx @d-zero/a11y-check -f <listfile> [options]

オプションは --help を参照。

URL リストファイル

https://example.com
ID001 https://example.com/a
# コメント行

各 URL の手前に任意の ID を空白区切りで付与可能。# で始まる行はコメント。

設定ファイル(frontmatter)

---
hooks:
  - ./hook1.cjs
  - ./hook2.mjs
---

https://example.com

設定ファイルでは hooks のみ指定可能。その他のオプションは CLI で渡す。hooks は IPC 越境のためファイルパスで渡す仕様(詳細は @d-zero/puppeteer-page-scanPageHookSource)。

ページフック

/** @type {import('@d-zero/puppeteer-page-scan').PageHook} */
export default async function (page, { name, width, resolution, log }) {
	// 例: ログイン処理
	await page.type('#username', 'user');
	await page.type('#password', 'pass');
	await page.click('button[type="submit"]');
	await page.waitForNavigation();
}

Google スプレッドシート出力

-o <URL> で出力。クレデンシャル指定は -c <path> または GOOGLE_AUTH_CREDENTIALS 環境変数(CLI 優先)。クレデンシャルファイルは Google Cloud Console の OAuth 2.0 クライアント ID(アプリ種別: デスクトップ)を発行してダウンロード。

Basic 認証

URL に資格情報を含める: https://user:[email protected]