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

claudemd-gen

v1.0.0

Published

Auto-generate CLAUDE.md from any codebase — zero config, instant, offline

Readme

claude-gen

Auto-generate CLAUDE.md from any codebase. One command. Zero config.

  claude-gen — scanning project...

  Language:    TypeScript/JavaScript
  Pkg manager: npm
  Frameworks:  Next.js, React, Tailwind CSS, Supabase, Stripe, Resend, Vercel
  TypeScript:  strict
  Testing:     Vitest + Playwright
  Linting:     ESLint + Prettier
  Deploy:      Vercel

  Written to CLAUDE.md
  47 lines generated

95% of Claude Code projects don't have a CLAUDE.md. The ones that do usually wrote it by hand and missed half their stack. This tool scans your entire project and generates one automatically.

Try it

npx claude-gen

That's it. CLAUDE.md appears in your project root. Done.

What it detects

| Category | Examples | |----------|---------| | Frameworks | Next.js (App/Pages Router), React, Vue, Nuxt, Svelte, Angular, Astro, Remix, Express, FastAPI, Django, NestJS, Hono, Gin, Rails, and 30+ more | | Database/ORM | Prisma, Drizzle, Supabase, Firebase, Mongoose, TypeORM, Sequelize, SQLAlchemy | | CSS/UI | Tailwind, shadcn/ui, Chakra UI, Material UI, Styled Components | | Auth | NextAuth, Clerk, Lucia | | Payments | Stripe, LemonSqueezy | | Testing | Vitest, Jest, Mocha, Pytest, Playwright, Cypress | | Linting | ESLint (flat config detection), Prettier (options extraction), Biome | | TypeScript | Strict mode, path aliases, compiler options | | Git | Commit convention (conventional, emoji, etc.), branch strategy | | CI/CD | GitHub Actions, GitLab CI, CircleCI, Travis, Jenkins, Azure Pipelines | | Deploy | Vercel, Netlify, Railway, Fly.io, Docker, AWS, GCP, Heroku | | Monorepo | Turborepo, Nx, Lerna, pnpm workspaces | | Language | JS/TS, Python, Go, Rust | | Pkg manager | npm, yarn, pnpm, bun, pip, poetry, uv, cargo, go modules |

Generated output

# my-project

## Tech Stack
**Language:** TypeScript/JavaScript (strict mode)
**Stack:** Next.js, React, Tailwind CSS, Supabase, Stripe
**Router:** App Router
**Package manager:** pnpm

## Commands
- **Dev server:** `pnpm dev`
- **Build:** `pnpm build`
- **Test:** `pnpm test`
- **Lint:** `pnpm lint`
- **Typecheck:** `npx tsc --noEmit`

## Architecture
Key directories:
- `src/app/` — Next.js App Router
- `src/components/` — React components
- `src/lib/` — Shared library code
- `prisma/` — Prisma schema and migrations

## Code Conventions
- TypeScript strict mode — no `any` types
- Prettier (single quotes, no semicolons, 2-space indent)
- Conventional Commits (feat:, fix:, chore:)
- Tailwind CSS utility classes — avoid custom CSS

## Rules
- ALWAYS read a file before editing it
- Run tests before committing changes
- NEVER commit .env files or hardcode secrets
- NEVER use `rm -rf`, `git push --force` without approval
- Database migrations require explicit confirmation

Options

claude-gen                       # scan current dir, write CLAUDE.md
claude-gen /path/to/project      # scan specific project
claude-gen --stdout              # print to terminal (don't write file)
claude-gen --merge               # merge with existing CLAUDE.md
claude-gen --json                # raw scan data as JSON
claude-gen -o custom/path.md     # custom output path

Part of the Claude Code Toolkit

| Tool | What it does | |------|-------------| | claude-score | Score your setup A-F, see what's missing | | claude-gen | Generate CLAUDE.md from your codebase | | claude-enforce | Convert rules into deterministic hooks |

npx claude-score       # diagnose
npx claude-gen         # fix
npx claude-enforce init  # protect

How it works

Zero AI. Zero network calls. Pure static analysis. Reads your config files, detects your stack, generates instructions. Under 1 second.

Only dependencies: commander and chalk.

License

MIT