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

claudenv

v1.1.0

Published

One command to integrate Claude Code into any project — installs /claudenv command for AI-powered documentation generation

Downloads

262

Readme

claudenv

One command to set up Claude Code in any project. Claude AI analyzes your codebase and generates all the documentation it needs to work effectively.

Quick Start

npm i -g claudenv && claudenv

Done. Open Claude Code in any project and type /claudenv.

How It Works

One-time setup — install and activate:

npm i -g claudenv && claudenv

This installs the /claudenv command globally into ~/.claude/, making it available in every project.

In any project — open Claude Code and type /claudenv.

Claude AI will:

  1. Read your manifest files, configs, and source code
  2. Detect your tech stack, frameworks, and tooling
  3. Ask you about the project (description, deployment, conventions)
  4. Generate all documentation files
  5. Install slash commands for ongoing maintenance

Step 3. You now have three commands available in Claude Code:

| Command | What it does | |---------|-------------| | /init-docs | Regenerate documentation from scratch | | /update-docs | Scan for changes and propose updates | | /validate-docs | Check that documentation is complete and correct |

What Gets Generated

your-project/
├── CLAUDE.md                              # Project overview, commands, architecture
├── _state.md                              # Session memory (decisions, focus, issues)
└── .claude/
    ├── rules/
    │   ├── code-style.md                  # Coding conventions (scoped by file paths)
    │   ├── testing.md                     # Test patterns and commands
    │   └── workflow.md                    # Claude Code best practices
    ├── settings.json                      # Validation hooks
    ├── commands/
    │   ├── init-docs.md                   # /init-docs
    │   ├── update-docs.md                 # /update-docs
    │   └── validate-docs.md              # /validate-docs
    ├── skills/
    │   └── doc-generator/                 # Auto-triggers when docs need updating
    └── agents/
        └── doc-analyzer.md                # Read-only analysis subagent

Key Files

| File | Purpose | |------|---------| | CLAUDE.md | Compact project overview with @import references to rule files | | _state.md | Persists context between sessions — current focus, decisions, known issues | | .claude/rules/workflow.md | Best practices: plan mode, /compact, subagents, git discipline | | .claude/rules/code-style.md | Language and framework-specific coding conventions | | .claude/rules/testing.md | Test framework patterns and commands |

Tech Stack Detection

Claude AI reads your actual code, but the following are auto-detected for context:

  • Languages: TypeScript, JavaScript, Python, Go, Rust, Ruby, PHP, Java, Kotlin, C#
  • Frameworks: Next.js, Vite, Nuxt, SvelteKit, Astro, Angular, Django, FastAPI, Flask, Rails, Laravel, Spring Boot, and more
  • Package managers: npm, yarn, pnpm, bun, poetry, pipenv, uv, cargo, go modules
  • Test frameworks: Vitest, Jest, Playwright, Cypress, pytest, RSpec, go test, cargo test
  • CI/CD: GitHub Actions, GitLab CI, Jenkins, CircleCI
  • Linters/formatters: ESLint, Biome, Prettier, Ruff, RuboCop, golangci-lint, Clippy

CLI Reference

claudenv                Install /claudenv into ~/.claude/ (default)
claudenv install        Same as above (explicit)
claudenv install -f     Reinstall, overwriting existing files
claudenv uninstall      Remove /claudenv from ~/.claude/
claudenv init [dir]     Legacy: static analysis + terminal prompts (no AI)
claudenv init -y        Legacy: skip prompts, auto-detect everything
claudenv generate       Templates only, no scaffold
claudenv validate       Check documentation completeness

Alternative: Run Without Installing

npx claudenv            # npm
pnpm dlx claudenv       # pnpm
bunx claudenv           # bun

Uninstall

claudenv uninstall      # Remove from ~/.claude/
npm uninstall -g claudenv

Requirements

License

MIT