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

@vantra-design/screenreader-empathy

v0.3.0

Published

Hear what your page sounds like to a screen reader. Local-first accessibility empathy tool — deterministic traversal, TTS playback, and optional AI commentary. Nothing leaves your browser.

Readme

@vantra-design/screenreader-empathy

npm CI License

Hear what your page sounds like to a screen reader. Paste HTML or point at a live element — get the reading order played back aloud with the current element highlighted, and optional AI-generated plain-language explanations of what's confusing.

Everything runs locally in your browser. Nothing leaves your device.

This is an empathy and education tool, not a WCAG compliance auditor. It helps sighted developers and designers experience their work the way a screen reader user would. For compliance scanning, use axe-core. For definitive testing, use a real screen reader. This tool is the bridge between "I've never thought about screen readers" and "I understand why this matters enough to test properly."


Quick start

npm install @vantra-design/screenreader-empathy

Browser — full experience (TTS + highlighting)

import { analyzeAccessibilityFlow, EmpathyPlayback } from '@vantra-design/screenreader-empathy'

const html = `
  <main>
    <h1>Welcome</h1>
    <button>Submit</button>
    <img src="hero.jpg">
    <a href="#">Read more</a>
  </main>
`

const result = analyzeAccessibilityFlow(html)
const playback = new EmpathyPlayback(result, {
  onEntryStart: (entry) => console.log(`Reading: ${entry.role} — ${entry.accessibleName}`),
})

await playback.init()
await playback.play()

Node / CI — headless analysis only

import { analyzeAccessibilityFlow } from '@vantra-design/screenreader-empathy/core'
import { JSDOM } from 'jsdom'

const dom = new JSDOM(html)
const result = analyzeAccessibilityFlow(dom.window.document)
console.log(`Found ${result.summary.flagCount['missing-alt-text']} images without alt text`)

The ./core entry point has zero runtime dependencies and works anywhere JavaScript runs.


Size budget

| Component | Size | Cached? | | --- | --- | --- | | Full package (JS, gzipped) | 8.5 KB | — | | Core-only ./core (JS, gzipped) | 5.9 KB | — | | Kokoro TTS model (q8, WebGPU) | ~82 MB | ✓ Cache API | | Llama-3.2-1B-Instruct (AI commentary) | ~500 MB | ✓ Cache API |

Models are downloaded once and cached in the browser via the Cache API. If @vantra-design/ask-design-system is also installed, both tools share the LLM cache — download once, both tools use it.

Content Security Policy

default-src 'self';
connect-src 'self' https://huggingface.co https://*.huggingface.co https://cdn-lfs.hf.co https://cdn-lfs-us-1.hf.co https://cdn-lfs-us-1.huggingface.co;
script-src 'self' 'wasm-unsafe-eval';
style-src 'self' 'unsafe-inline';
worker-src 'self' blob:;

After the one-time model download, zero network calls are made.


Packages

| Package | Description | | --- | --- | | @vantra-design/screenreader-empathy | Core — headless analysis (./core) and browser playback + AI commentary (.) | | @vantra-design/screenreader-empathy-vue | Vue 3 components and composables (Phase 2 — placeholder) |


Development

git clone https://github.com/vantradesign/vantra-screenreader-empathy.git
cd vantra-screenreader-empathy
pnpm install
pnpm run verify       # lint + typecheck + test + build

Contributing

See CONTRIBUTING.md.


License

Apache-2.0 © Vantra Design