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

@tjalve/aiq

v0.2.0

Published

AIQ is a staged code quality runner for AI-assisted repositories. It gives humans and agents one stage ladder, one persisted current stage, and one command to run the checks that matter now.

Readme

@tjalve/aiq

AIQ is a staged code quality runner for AI-assisted repositories. It gives humans and agents one stage ladder, one persisted current stage, and one command to run the checks that matter now.

Quickstart

npx @tjalve/aiq
npx @tjalve/aiq doctor
npx @tjalve/aiq config --set-stage 3
npx @tjalve/aiq run .

On first use, aiq looks for a supported project and initializes .aiq/aiq.config.json and .aiq/progress.json when it can safely infer inputs. After that, aiq run <paths...> uses .aiq/progress.json and runs every stage from 0 through the persisted current_stage.

Returning Runs

npx @tjalve/aiq run src
npx @tjalve/aiq plan src
npx @tjalve/aiq run src --dry-run
npx @tjalve/aiq run src --format json
npx @tjalve/aiq evidence --format json

run is the primary command. plan shows what would run. --dry-run prints the resolved plan without executing tools or writing artifacts. check remains available as a compatibility alias for older automation. evidence reads the latest AIQ report and emits structured JSON that orchestration tools can store as gate evidence or parse as trusted quality state.

Package Surface

@tjalve/aiq is the canonical package for standalone users and adapters. It ships the aiq and quality binaries from the top-level export, and @tjalve/aiq/api exposes the model, config, engine, reporter, and benchmark APIs used by the hook, MCP, LSP, GitHub Action, and OpenCode packages.

QUBE orchestration can discover the implemented AIQ command surface with npx @tjalve/aiq schema --format json or by importing @tjalve/aiq/schema. AIE and AIU integrations should consume aiq evidence --format json instead of agent narration.

Stage Ladder

| # | Stage | Scope | |---|---|---| | 0 | e2e | full run | | 1 | lint | diff-scoped | | 2 | format | diff-scoped | | 3 | typecheck | full run | | 4 | unit | full run | | 5 | sloc | diff-scoped | | 6 | complexity | diff-scoped | | 7 | maintainability | diff-scoped | | 8 | coverage | full run | | 9 | security | full run |

Stage Selection

npx @tjalve/aiq config --set-stage 6
npx @tjalve/aiq run src
npx @tjalve/aiq run src --up-to 3
npx @tjalve/aiq run src --only 1
npx @tjalve/aiq run src --stage typecheck
  • Default run, plan, and doctor: use cumulative stages 0..current_stage when .aiq/progress.json exists.
  • --up-to N: ignore persisted progress and run every stage from 0 through N.
  • --only N: run one numeric stage.
  • --stage <name>: advanced named-stage selection for scripts or focused diagnostics.
  • --diff-only: scopes diff-safe stages to supplied changed files.

Full-run stages stay selected and use workspace context because they cannot be made safe from a changed-file list alone: e2e, typecheck, unit, coverage, and security.

Doctor

npx @tjalve/aiq doctor
npx @tjalve/aiq doctor --up-to 3
npx @tjalve/aiq doctor --only 1
npx @tjalve/aiq doctor --verbose

doctor checks config/progress state, detects project technologies, reports the stages that would run, and separates npm-bundled tools from external host tools. It exits non-zero when selected stages need missing required setup. Use --verbose to show exact binary paths and versions.

Common Remediation

npx @tjalve/aiq doctor
npx @tjalve/aiq config --print-config
npx @tjalve/aiq config --set-stage <0-9>

If a tool is missing, install it through the normal toolchain for that language or project. AIQ intentionally reports setup needs instead of mutating your system or installing global tools for you.