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

@manzoid2/repo-feature-check

v0.2.1

Published

Extract and categorize every function, method, and class in a codebase by user-facing feature using universal-ctags

Readme

repo-feature-check

Extract every function, method, and class from a codebase using universal-ctags. Designed as a fast structural index that feeds into AI-assisted codebase analysis.

Install

npm install -g @manzoid2/repo-feature-check

Prerequisites

Requires universal-ctags:

brew install universal-ctags

Usage

# Basic symbol extraction
repo-feature-check /path/to/repo

# Export as JSON for further analysis
repo-feature-check /path/to/repo --json /tmp/symbols.json

# Include git churn data for hotspot analysis
repo-feature-check /path/to/repo --json /tmp/symbols.json --since 2024-06-01

# With a feature config for path-based classification
repo-feature-check /path/to/repo --config features.json

Options

| Flag | Description | |------|-------------| | --json <path> | Write full symbol data as JSON | | --since <date> | Overlay git churn data (e.g. 2024-01-01) | | --config <path> | Optional feature config for path-based classification | | --help | Show help with full usage instructions |

What it extracts

  • Functions — named functions, arrow functions exported as constants, React components (PascalCase), hooks (use*)
  • Methods — class/object methods
  • Classes — classes, objects, structs

Filters out noise: lambdas, anonymous functions, __ prefixed internals, plain constants.

Supported languages

TypeScript, JavaScript, Kotlin, Java, Python, Go, Rust

Output

The text report goes to stdout. JSON (via --json) includes:

  • Full symbol list with file, line number, scope, and kind
  • Feature classification (if --config provided)
  • Git churn per feature and top hotspot files (if --since provided)

Usage with Claude Code

This tool is the mechanical half of a two-part workflow. It extracts a structured symbol index fast — Claude Code provides the intelligence by reading actual source files and building a feature taxonomy.

Setup

Add this to your ~/.claude/CLAUDE.md so Claude Code knows about the tool in every session:

## repo-feature-check
Globally installed CLI (`npm i -g @manzoid2/repo-feature-check`) for codebase feature analysis.
Run `repo-feature-check` with no arguments to get the full analysis prompt — then follow those instructions.

Running an analysis

In Claude Code, just say:

repo-feature-check

Claude will run the tool, see the analysis instructions, and execute the full workflow — checking git history, asking you about the churn window, extracting symbols, and producing a feature architecture report.

Feature config (optional)

If you already know your feature areas, you can provide a config file to get path-based classification without AI:

{
  "name": "my-app",
  "excludePaths": ["*.test.*", "__tests__"],
  "excludeChurn": ["pnpm-lock.yaml", "generated/"],
  "features": [
    { "id": "payments", "name": "Payments", "category": "Commerce", "paths": ["/payments/", "/billing/"] },
    { "id": "auth", "name": "Authentication", "category": "Users", "paths": ["/auth/", "/login/"] }
  ]
}

See examples/ for a full example config.

License

MIT