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

kodu

v1.1.12

Published

High-performance CLI to prepare codebase for LLMs, automate reviews, and draft commits.

Readme

Kodu 🦄

The AI-First CLI for Modern Developers

Generate contexts, clean code, review PRs, and draft commits—instantly.

npm version License Privacy


⚡ The Problem vs. Kodu

| You (Manual) ❌ | Kodu (Automated) ✅ | | :--- | :--- | | Copy-pasting 10 files one by one | kodu pack bundles context in 1 click | | Hitting token limits with comments | kodu clean strips noise deterministically | | Context switching for code reviews | kodu review checks logic inside your terminal | | Writing boring commit messages | kodu commit generates semantic git messages |


🚀 Instant Start

Don't want to install? Run it directly:

# 1. Initialize config (creates kodu.json)
npx kodu init

# 2. Bundle your project to clipboard
npx kodu pack --copy

Or install globally for speed (<0.5s startup):

npm install -g kodu

🛡️ Privacy & Security

We know trust is paramount when dealing with code.

  • Local Execution: Code analysis runs locally.
  • Zero Data Retention: We don't store your code.
  • Explicit Control: .env, node_modules, and lockfiles are ignored by default.
  • You Own the Keys: Your API key (OPENAI_API_KEY) goes directly to the provider.

💡 Common Workflows

1. "I need to ask ChatGPT about my project"

Pack your entire source code (minus ignored files) into the clipboard, optimized for tokens.

kodu pack --copy
# Output: Copied 45 files (12k tokens) to clipboard. Paste into ChatGPT!

2. "I want to save money on API costs"

Strip comments and docs to reduce token count by ~30% before sending.

# Preview savings
kodu clean --dry-run

# Clean only what you changed (Great for PRs)
kodu clean --changed

3. "Check my code before I push"

Get an AI review of your staged changes without leaving the terminal.

# Detect bugs and logical errors
kodu review --mode bug

# Check for security leaks
kodu review --mode security

⚙️ Configuration

Kodu creates a kodu.json in your root. It's pre-configured, but fully hackable.

{
  "llm": {
    "model": "openai/gpt-4o",
    "apiKeyEnv": "OPENAI_API_KEY"
  },
  "cleaner": {
    // Kodu will NEVER remove comments starting with these:
    "whitelist": ["//!"]
  },
  "packer": {
    // Files to strictly ignore
    "ignore": ["package-lock.json", "dist", "coverage"]
  },
  "prompts": {
    // Use your own prompts for reviews
    "review": {
      "bug": ".kodu/prompts/review-bug.md"
    }
  }
}

🏎️ Tech Stack (Fresh & Modern)

Built for speed and maintainability.

  • Runtime: Node.js (ESM)
  • Framework: NestJS + Commander
  • Parsing: ts-morph (AST-based, not Regex)
  • Globbing: tinyglobby
  • UI: @inquirer + yocto-spinner