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 🙏

© 2025 – Pkg Stats / Ryan Hefner

accented

v1.2.2

Published

A frontend library for continuous accessibility testing and issue highlighting

Readme

Accented

A frontend library for continuous accessibility testing and issue highlighting.

What is Accented?

Accented is a visual library built on axe-core that helps you catch issues in real time.

It displays interactive highlights for every accessibility issue that axe-core detects.

Here’s a side-by-side comparison — without Accented vs. with it enabled:

Two screenshots of the same web application side by side. On the left, the regular state of the application. On the right, the same state but with bright outlines and buttons added to some page elements.

Try it out at the Playground (StackBlitz).

Accented works well alongside other common accessibility tools:

  • It can catch more problems than source code linters alone. The popular eslint-plugin-jsx-a11y or the Biome a11y linter are great, and they validate the whole codebase at once, but some issues can only be detected in the rendered page. For example, the linter cannot find issues with color contrast or heading order. Besides, Accented is not tied to JSX.
  • It runs as part of your project code — no browser extension or editor setup required. You’d get a similar audit from Lighthouse or axe DevTools, but with Accented, there’s nothing extra to install, and the results are always up to date.
  • No need to write extra code, unlike when adding accessibility checks to a test suite. You can test for accessibility issues in your test suite, for example using @axe-core/playwright. That means writing test cases for every state of your app you want to check. Accented, by contrast, automatically scans whatever’s currently visible in the browser.

When used in console-only mode, Accented behaves similarly to @axe-core/react and can serve as a direct replacement. Unlike @axe-core/react, Accented works with any framework — or none at all — making it suitable for any web project.

Learn more at accented.dev.

Installation and usage

Install:

npm install --save-dev accented

Then import and run during app initialization:

if (process.env.NODE_ENV === 'development') {
  const { accented } = await import('accented');
  accented();
}

⚠️ Heads up: Accented is for development use only. Don’t expose it to end users.

See the docs for your bundler or framework for how to run code only in the development environment.

More info

Contributing

Contributions are welcome!

  • See CONTRIBUTING.md for setup instructions and guidelines.
  • Feel free to open an issue or pull request if you spot a bug or have a feature idea.

Have feedback or ideas? Reach out to Pavel at [email protected].