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

archlint-ai

v0.1.1

Published

Architecture linter for AI-generated code

Readme

ArchLint

ESLint for AI coding agents. Stop Claude, Codex, Cursor, and human contributors from breaking your architecture.

ArchLint checks Git diffs against architecture rules committed with your project. It is agent-independent, deterministic by default, and designed for local use and CI.

Quick start

npx archlint-ai init
npx archlint-ai check

The first command creates .archlint.yml. The second checks staged, unstaged, and untracked changes. Errors exit with code 1; warnings are reported without blocking.

Rules

version: 1
rules:
  - id: no-firebase
    type: forbidden_dependency
    packages: [firebase]
    message: "Use Supabase Auth only."

  - id: db-boundary
    type: import_boundary
    from: ["src/components/**"]
    deny: ["src/db/**"]
    message: "UI components must not access the database directly."

  - id: protect-auth
    type: protected_path
    paths: ["src/auth/**"]
    severity: warning

forbidden_dependency checks newly added JS/TS imports, require calls, dynamic imports, and package.json dependencies. import_boundary checks newly added JS/TS imports and supports relative paths and project-root-style paths. protected_path reports any changed matching path.

Only additions in the Git diff are inspected for dependency and import violations, minimizing false positives from existing code.

Pull requests

npx archlint-ai check --base origin/main

Copy examples/github-action.yml into .github/workflows/archlint.yml. Ensure checkout uses fetch-depth: 0.

Exit codes

  • 0: pass (warnings may be present)
  • 1: at least one error-severity architecture violation
  • 2: configuration, Git, or runtime error

Privacy and semantic rules

All deterministic rules run 100% locally. Semantic rules are experimental: v0.1 defines a provider-neutral SemanticEvaluator interface but does not send code to an LLM or include a provider. A configured semantic rule therefore performs no remote work.

Templates

Starter configurations are available in templates/ for Next.js + Supabase, Next.js + Prisma, clean architecture, and minimal AI safety.

Use in GitHub Actions

Add .github/workflows/archlint.yml:

name: ArchLint
on:
  pull_request:

jobs:
  archlint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - run: npx archlint-ai check --base origin/${{ github.event.repository.default_branch }}

Every pull request is then checked automatically. Fix the code when a rule is violated, or review and change .archlint.yml when the architecture decision itself has intentionally changed.

Contributing and rule requests

ArchLint v0.1 is deliberately small. If an architecture constraint cannot be expressed with the current rules, open an issue and describe the code pattern you want to prevent. Concrete rule requests guide the roadmap.

npm CI