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

iaccessibility-test-app

v1.0.19

Published

<p align="center"> <img src="https://img.shields.io/npm/v/iaccessibility.svg?style=flat-square" alt="npm version"> <img src="https://img.shields.io/npm/dt/iaccessibility.svg?style=flat-square" alt="npm downloads"> <img src="https://img.shields.io

Readme

🧩 iAccessibility


📚 Table of Contents


🚀 Getting Started

🧠 Installation

Install iAccessibility locally:

npm install iaccessibility

Or install globally:

npm install -g iaccessibility

⚙️ Initialization

Initialize iAccessibility in your project:

npm run iaccessibility:init

This will set up configuration and supporting files.


▶️ Execution

1️⃣ Run Using Sitemap

Run accessibility checks using a sitemap:

npm run iaccessibility

2️⃣ Run Using Manual URLs

Pass URLs directly (comma-separated):

npm run iaccessibility --urls=https://example.com,https://example2.com

📊 Reports

Generate a detailed accessibility report:

npm run iaccessibility --report

Generate a report and display results in the terminal:

npm run iaccessibility --report --output

Reports are saved as .xlsx files for easy sharing and tracking.


🧹 Uninstallation

To remove iAccessibility or its configuration, run:

npm run iaccessibility:init

Then choose the appropriate uninstall option.


⚙️ Configuration

You can manually adjust settings in the iAccessibilityConfig.json file.

| Property | Description | Default | |-----------|--------------|----------| | reportFileName | Name of generated report file | AccessibilityReport.xlsx | | reportDir | Directory for reports | reports | | sitemapPath | Path to sitemap file | ./ | | tag | Accessibility rule tag filter | best-practices |


🧩 Axe Configuration

Configure scan behavior and browser settings:

{
  "timeout": 60000,
  "headless": true,
  "cookies": [],
  "extraHTTPHeaders": {},
  "localStorageData": {},
  "sessionStorageData": {},
  "auth": { "url": "", "payload": {} },
  "batchSize": 10,
  "autoTraverse": false,
  "autoTraverseDepth": 1
}

Option Descriptions

  • timeout: Page timeout in milliseconds
  • headless: Run in headless browser mode
  • cookies: Set cookies for authenticated pages
  • extraHTTPHeaders: Inject custom HTTP headers
  • localStorageData / sessionStorageData: Set page storage data
  • auth: API call before scan (for authentication)
  • batchSize: Number of pages to scan concurrently
  • autoTraverse: Auto-follow and scan internal links
  • autoTraverseDepth: Depth for link traversal (-1 for infinite)

🍪 Cookies Format

Example format for cookies:

[
  {
    "name": "token",
    "value": "abc123",
    "url": "https://example.com",
    "domain": ".example.com",
    "path": "/",
    "expires": 1734567890,
    "httpOnly": true,
    "secure": true,
    "sameSite": "Lax"
  }
]

Notes:

  1. Either url or domain/path must be provided.
  2. Prefix domain with a dot (.example.com) to apply cookies across subdomains.

📜 iAccessibilityScript File Uses

The iAccessibilityScript file enables you to inject custom JavaScript logic into the accessibility scanning process.
It provides three lifecycle modules — Global, PreLoad, and PostRender — that give fine-grained control over how pages are analyzed.

🧱 Available Modules

| Module | Execution Phase | Description | |---------|------------------|-------------| | Global | Executes once before loading any page into the browser. | Use this module to define global utilities, or functions that can be accessed for all the pages. | | PreLoad | Executes before each page is loaded. | Use this module to define utilities, or functions that can be accessed for each page. | | PostRender | Executes after the page has fully rendered. | Perfect for DOM manipulations, simulating user interactions, or preparing the page before Axe accessibility checks are run. |


🧠 Summary

iAccessibility simplifies the process of identifying, managing, and reporting accessibility violations in web projects.
It’s flexible, easy to configure, and supports both sitemap-based and manual URL scanning — making it a must-have for web accessibility audits.


📄 License

This project is licensed under the MIT License — see the LICENSE file for details.