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

ai-code-intelligence-toolkit

v1.0.9

Published

AI code intelligence toolkit with anti-drift task contracts, graph queries, TypeDoc source-link support, and agent-safe install injection.

Readme

AI Code Intelligence Toolkit v1.0.8

AI code intelligence toolkit with anti-drift task contracts, graph queries, TypeDoc source-link support, agent-safe install injection, smart validation memory, and durable AI changelog tracking.

Install

npm install --save-dev ai-code-intelligence-toolkit typedoc-hybrid-source-links typedoc
npx typedoc-hybrid-install --target . --overwrite
npx ai-code-intel-install --target . --overwrite --strict
npm run ai:history:init

Required anti-drift edit cycle

npm run typedoc:json:local && npm run ai:graph:build
npm run ai:spec -- "<task>"
npm run ai:preflight -- "<task>"
npm run ai:graph:query -- "<specific symbol/file/error/feature>"

The agent may edit every necessary repository file after this discovery flow completes. Preflight and graph query are guidance tools, not a hard edit whitelist.

Token conservation and drift prevention

  • Read AGENTS.md, docs/ai-changelog/START_HERE.md, AI_GROUND_TRUTH.md, and AI_SYMBOL_INDEX.json before source files.
  • Use Select-String bounded context in PowerShell instead of broad Get-Content or rg first.
  • Use ai:test:smart so a build/test that already passed for the same unchanged fingerprint is not repeated.
  • Use ai:history:add so important fixes are recorded as numbered markdown files in docs/ai-changelog/.

New v1.0.8 final commands

npm run ai:history:init
npm run ai:history:status
npm run ai:history:add -- --task "<task>" --summary "<what changed>" --files "file1,file2" --validation "npm run build"
npm run ai:test:status
npm run ai:test:smart -- "npm run test"
npm run ai:test:smart -- "npm run build"
npm run typedoc:strict

Example workflow

npm run ai:history:status
npm run typedoc:json:local && npm run ai:graph:build
npm run ai:spec -- "Fix dashboard list overflow and side panel spacing"
npm run ai:preflight -- "Fix dashboard list overflow and side panel spacing"
npm run ai:graph:query -- "dashboard list overflow side panel App"
npm run ai:test:smart -- "npm run build"
npm run ai:history:add -- --task "Fix dashboard list overflow" --summary "Resolved side panel overflow and text clipping" --files "src/App.tsx" --validation "npm run build"

Searchable aliases

| Purpose | Command | |---|---| | Refresh context | npm run ai:context:refresh | | Find context | npm run ai:context:find -- "<query>" | | Spec | npm run ai:task:spec -- "<task>" | | Preflight | npm run ai:task:preflight -- "<task>" | | Durable history | npm run ai:history:status | | Smart validation | npm run ai:test:smart -- "npm run build" | | Final health | npm run ai:health:final |

Companion package

Install with TypeDoc Hybrid Source Links for the complete tested workflow:

npm install --save-dev typedoc-hybrid-source-links ai-code-intelligence-toolkit typedoc

Cumulative v1.0.8 note

This package is the complete v1.0.8 jump release. It carries the package manifest repair, anti-drift agent contract, AGENTS/README injector, edit-permission fix, searchable aliases, durable AI changelog memory, and smart validation memory in one release.