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

claudexer

v0.3.0

Published

70% cost savings on Claude Code. Auto-indexes your codebase and injects smart context via hooks. One command setup.

Readme

Claudexer

70% cost savings on Claude Code. One command setup.

Claudexer indexes your codebase and auto-injects smart context via Claude Code hooks. Claude knows your code structure before you even ask.

Quick Start

cd your-project
npx claudexer install

That's it. Use Claude Code normally - it's now optimized.

Benchmarks

Tested on a 500+ file NestJS backend:

| Task | Without Claudexer | With Claudexer | Savings | |------|-------------------|----------------|---------| | Simple (health endpoint) | 27s, 6 turns, $0.17 | 19s, 4 turns, $0.11 | 35% | | Complex (new module) | 318s, 41 turns, $1.39 | 82s, 18 turns, $0.42 | 70% |

How It Works

You: "add a price alerts feature"

WITHOUT Claudexer:
  Claude: *reads app.module* *reads prisma schema* *searches services*
          *reads trading.service* *reads another file*...
  → 41 turns, $1.39

WITH Claudexer:
  Hook injects: app.module.ts imports, prisma schema, similar service template
  Claude: *creates all files in one batch*
  → 18 turns, $0.42

The magic: Claudexer shows Claude the exact edit points (where to add imports, where to add models) so it doesn't need to explore.

Features

  • Turbo Mode - 2ms hook latency, zero API calls
  • Smart Matching - Intent patterns detect "notify when stock drops" → price-alerts
  • Prompt Detection - Different context for implement/fix/question prompts
  • Auto-Sync - New files get indexed automatically via git diff
  • Graceful Fallback - Lists files Claude can read if needed

Commands

npx claudexer install   # One-time setup (indexes + installs hooks)
npx claudexer sync      # Manual re-sync (usually automatic)
npx claudexer status    # Show stats and metrics
npx claudexer uninstall # Remove hooks (keeps index)

What Gets Created

your-project/
├── .claudexer/           # Index files (gitignored)
│   ├── deep-index.json   # Full codebase index
│   ├── key-files.json    # Service/controller templates
│   └── codebase-map.md   # Compressed overview
└── .claude/
    └── hooks/            # Claude Code hooks
        └── claudexer-hook.mjs

Supported Languages

| Language | Support | |----------|---------| | TypeScript/JavaScript | Full | | Dart/Flutter | Full | | Python, Go, Rust | Good | | Java, Kotlin, Swift | Good | | C#, Ruby, PHP | Basic |

Requirements

  • Node.js 18+
  • Claude Code CLI

How the Savings Work

  1. Shows exact edit points - Claude sees where to add imports, not the whole file
  2. Provides templates - Similar services shown, Claude copies the pattern
  3. Aggressive instructions - "Create ALL files in single batch, no verification needed"
  4. Skips exploration - Context is pre-loaded, no file reading needed

License

MIT

Links