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

ax-audit

v6.0.0

Published

CLI and SDK for the private AX Rush audit service. Requires an active paid subscription and API key.

Readme

CI npm version license node

Lighthouse for AI Agents. Audit a public website’s AI Agent Experience (AX) readiness through AX Rush.

# Set AXRUSH_API_KEY using a paid account key from axrush.com/account/api
npx ax-audit@6 https://your-site.com
  AX Audit Report
  https://example.com

  █████████████████████████████████░░░░░░░  83/100  Good

  ── Content — is there substance an agent can read?

  Structured Data (90/100)
  PASS  3 JSON-LD block(s) found
  WARN  1 structured-data value(s) do not appear in the visible text
         💡 Google's one explicit requirement for structured data and AI
            features is that it match what a reader sees.

  ── Access — can an agent actually retrieve it?

  Agent Access (100/100)
  PASS  All 10 core AI crawler user-agents receive the same page as a regular client

  AI Directives (100/100)
  PASS  Homepage is indexable
  PASS  No directive restricts how AI assistants may use this page

  ── Protocols — what can an agent call?

  MCP Discovery (n/a)
  PASS  No MCP server — MCP discovery does not apply to this site
  ...

Why

AI agents crawl, cite and act on websites. Lighthouse audits performance, axe-core audits accessibility, and ax-audit tells you how ready your site is for agents — discovery files, crawler policy, usage rights, content negotiation, and the failures that are invisible from the inside:

  • Your robots.txt allows GPTBot and your firewall returns 403 to it.
  • You blocked Google-Extended expecting to leave AI Overviews. It does not do that.
  • Your robots.txt permits AI training while your RSL licence prohibits it, so which terms apply depends on which file a crawler read.
  • Your content only exists after hydration, so the crawlers that do not run JavaScript see an empty page.
  • A missing page answers 200 OK, so an agent stores the apology as the answer.

What it checks

26 checks across five areas. Full reference: docs/checks.md.

| Area | Weight | Checks | |---|---|---| | Content — is there substance an agent can read? | 33% | HTML Rendering · Agent Operability · Structured Data · SEO Basics · Content Negotiation | | Access — can an agent actually retrieve it? | 24% | Agent Access · AI Directives · HTTP Hygiene · TLS/HTTPS · Crawl Efficiency | | Discovery — can an agent find your machine-readable files? | 21% | Robots.txt · LLMs.txt · HTTP Headers · Sitemap · Meta Tags | | Protocols — what can an agent call? | 13% | API Discovery · Agent Card · MCP Discovery · Agent Skills · Auth Discovery | | Policy — what usage rights do you declare? | 9% | Usage Policy · Security.txt · RSL License | | Draft specifications, reported but never scored | 0% | AI Catalog · WebMCP · Commerce Discovery |

Content leads because the failure that breaks the most agents is a page with nothing in its HTML. Most crawlers do not run JavaScript, so a site whose content appears only after hydration is invisible to them no matter how many discovery files it publishes.

Protocol checks are conditional: a blog has no API to describe, so those report n/a and are excluded from the score rather than counted as failures. Use --profile to audit against what a site intends to build.

Every finding links to a step-by-step remediation guide.

AX Rush service access (v6)

Install with npm install ax-audit. Version 6 is a CLI and SDK for the private AX Rush service: the npm package contains no audit engine or check implementations.

  1. Subscribe at AX Rush.
  2. Generate an organization key in Account → API keys.
  3. Store it as AXRUSH_API_KEY in your environment or trusted CI secret store.
  4. Run npx ax-audit@6 https://example.com.

audit({ url, apiKey }) can pass a key explicitly. Never commit keys or put them in command-line arguments. The service checks the key and an active paid subscription for each audit; revoked keys, canceled subscriptions, past-due payments, trial-only and complimentary-only accounts cannot execute the engine.

The client sends the target URL and audit options to https://axrush.com/api/v1/engine/audit, with the key in the Authorization header. AX Rush fetches the public pages and returns the report. The key is never sent to the target website. This endpoint does not save the report to your dashboard; use the authenticated site API for stored scan history.

Only publicly reachable HTTP(S) sites on ports 80/443 are supported. Localhost, private networks, URL credentials and custom ports are rejected. CI should audit a public preview or deployed environment. Internet access to AX Rush is required; there is no offline mode or local fallback. Current abuse limits are 10 audits per organization per hour and 5 per target per hour, shared across keys and scan surfaces. A batch consumes one audit for each URL.

Rendering an existing report, reading check descriptions and comparing saved baselines remain local. checks contains metadata only; checks[i].run() was removed. The CLI and client utilities remain Apache-2.0. Earlier releases and rights already granted under their licenses cannot be revoked by this release.

Usage

ax-audit https://example.com                          # full audit, terminal output
ax-audit https://a.com https://b.com --concurrency 2  # batch, in parallel
ax-audit https://example.com --output markdown        # also: json, html
ax-audit https://example.com --checks llms-txt,rsl    # subset of checks
ax-audit https://example.com --only-failures          # hide passing findings
ax-audit https://example.com --category access                 # one area only
ax-audit https://example.com --profile api                     # audit as though it had an API
ax-audit https://example.com --fail-on-category access:70      # per-area CI gate
ax-audit https://example.com --baseline .ax-baseline.json --fail-on-regression 5

Exit codes gate CI: 0 for score ≥ 70, 1 below. Full flag reference: docs/cli.md · CI recipes (PR comments, regression gates, scheduled audits): docs/ci.md.

Programmatic API

import { audit, batchAudit } from 'ax-audit';

const report = await audit({ url: 'https://example.com' });
report.overallScore; // 0–100
report.results;      // per-check findings

Full API and types: docs/api.md.

Documentation

Start here:

| Document | Contents | |---|---| | docs/getting-started.md | First audit, reading the report, fixing in impact order | | docs/concepts.md | The AX standards landscape — llms.txt, A2A, MCP, RSL, Content Signals, Web Bot Auth |

Reference:

| Document | Contents | |---|---| | docs/checks.md | All 26 checks with exact scoring per finding, the weight table, and the conditional-check rule | | docs/cli.md | Every flag, profiles, area filters, per-area CI gates, baseline workflow | | docs/api.md | audit, batchAudit, baselines, reporters, types, API-stability policy | | docs/ci.md | GitHub Actions recipes: gates, PR comments, scheduled drift detection | | docs/architecture.md | Remote client, private service boundary and release verification | | docs/faq.md | Troubleshooting, false positives, the agent-access verified-bots caveat | | Remediation guides | Step-by-step fixes for every finding |

The same documentation is browsable at axrush.com/docs, rendered from these files. Contributors: see CONTRIBUTING.md and SECURITY.md.

Scoring

| Grade | Score | Exit Code | |---|---|---| | Excellent | 90–100 | 0 | | Good | 70–89 | 0 | | Fair | 50–69 | 1 | | Poor | 0–49 | 1 |

Checks that do not apply to a site report n/a and leave the denominator entirely, rather than scoring 0. A blog is not marked down for having no API to describe. Everything counted against a site is something the site could have done — which is what makes a low score worth acting on.

--fail-on-category access:70 gates CI per area, because an overall score can hide an area that is entirely broken while the other four carry it.

Tech

TypeScript strict mode · 2 runtime dependencies (chalk, commander) · Node 18+ built-in fetch · no HTML, XML or YAML parser dependencies · parallel checks via Promise.allSettled · per-run request cache with Vary-aware keys · transient-failure retries with backoff · 873 tests on node:test with zero test dependencies.

Contributing

See docs/architecture.md for the client/service boundary and release checks. Audit implementations are maintained only in the private AX Rush application.

Related

  • ax-init — generate the AX files this tool audits
  • ax-cite — embed AI-extractable structured data in your pages

License

Apache 2.0


AX Rush — the agent-experience toolkit, by Durani Technologies.