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

anatomia-cli

v0.1.0

Published

Auto-generated AI context for codebases

Readme

Anatomia CLI

Auto-generate AI context for your codebase

Anatomia creates .ana/ context folders that help AI understand your project's patterns, architecture, and conventions.

Install

npm install -g anatomia-cli

Or try without installing:

npx anatomia-cli analyze

Quick Start

1. Initialize context:

cd your-project/
ana init

2. Reference modes in your AI tool:

@.ana/modes/code.md "Implement user authentication"

AI reads your patterns and writes code that matches your style.


Commands

ana init [options]

Initialize .ana/ folder with templates.

Options:

  • -y, --yes - Skip prompts, use defaults
  • -f, --force - Overwrite existing .ana/

Creates 10 files:

.ana/
├── ENTRY.md              # Project orientation
├── node.json             # Project metadata
├── modes/
│   ├── architect.md      # System design mode
│   ├── code.md           # Implementation mode
│   ├── debug.md          # Debugging mode
│   ├── docs.md           # Documentation mode
│   └── test.md           # Testing mode
└── context/
    ├── main.md           # Project overview
    ├── patterns.md       # Code patterns
    └── conventions.md    # Coding standards

Fill context/*.md with your project details. Reference modes/*.md when working with AI.


ana analyze

Detect project type, framework, and structure.

Usage:

ana analyze

Output:

{
  "projectType": "python",
  "framework": "fastapi",
  "structure": {
    "entryPoints": ["app/main.py"],
    "architecture": "layered"
  },
  "parsed": {
    "files": [...],
    "totalParsed": 15
  }
}

What it detects:

  • Project type (Python, Node, Go, Rust, Ruby, PHP)
  • Framework (FastAPI, Next.js, Express, Django, and more)
  • Entry points
  • Architecture pattern
  • Code structure (functions, classes, imports)

ana mode <name>

Display mode file path and information.

ana mode code
# Output: .ana/modes/code.md - Implementation mode

ana --version

Show CLI version.

ana --help

Show all commands.


Mode System

Each mode has a specific purpose:

  • architect - System design (doesn't implement)
  • code - Implementation (doesn't design architecture)
  • debug - Root cause analysis (doesn't implement fixes)
  • docs - Documentation (doesn't create features)
  • test - Test writing (doesn't implement features)

Templates

Templates use Handlebars for dynamic content:

{{#if (eq framework "fastapi")}}
FastAPI-specific guidance here
{{/if}}

Supported frameworks:

  • FastAPI, Django, Flask (Python)
  • Next.js, Express, Nest.js, Fastify (Node.js)
  • Gin, Echo, Chi, Cobra (Go)

See TEMPLATE_GUIDE.md for details.


Documentation


Development

Run tests:

pnpm test

Build:

pnpm build

Contributing

See CONTRIBUTING.md


License

MIT