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

cc-edit

v1.0.0

Published

Which files does Claude Code edit most? Edit tool analysis — top files, extensions, growth ratio.

Downloads

88

Readme

cc-edit

Which files does Claude Code edit most? 17,995 edits across 905 files. dungeon_game.py: 1,957 edits. 2.00x growth ratio — new code is twice as long as what it replaces.

Edit tool analysis — Hall of Fame files, extension breakdown, growth ratio.

npx cc-edit

No install. No dependencies.


What it shows

  • Total Edit calls — across all sessions
  • Hall of Fame — files with 500+ edits (the heart of your project)
  • Most edited files — top 10 with bar chart
  • By file type — extension breakdown
  • By project — which projects get the most attention
  • Growth ratio — avg new_string / avg old_string (>1 = code grows)

Output

  cc-edit — Edit Tool Analysis
  ════════════════════════════════════════

  ▸ Overview
    Total Edit calls:   17,995
    Unique files:       905
    replace_all used:   302 (1.7%)
    Avg old_string:     357 chars
    Avg new_string:     715 chars
    Growth ratio:       2.00x (expansions > deletions)

  ▸ Hall of Fame (500+ edits)
    dungeon_game.py             1,957 edits
    dungeon.gd                  1,666 edits
    index.html                  1,441 edits
    staged-hatching-backus.md     870 edits
    game.gd                       525 edits

  ▸ By file type
    .gd          ████████████████  34.0%  (6,110)
    .py          ██████████░░░░░░  21.0%  (3,778)
    .md          ██████████░░░░░░  20.4%  (3,672)
    .html        ████░░░░░░░░░░░░   9.0%  (1,615)

Options

npx cc-edit          # terminal output
npx cc-edit --json   # JSON output for scripting

JSON output

{
  "version": "1.0.0",
  "totalEdits": 17995,
  "uniqueFiles": 905,
  "replaceAllCount": 302,
  "replaceAllRate": 1.7,
  "avgOldStringLen": 357,
  "avgNewStringLen": 715,
  "growthRatio": 2.00,
  "hallOfFame": [
    { "file": "dungeon_game.py", "edits": 1957 },
    { "file": "dungeon.gd", "edits": 1666 }
  ]
}

Browser version

Try it without installing: yurukusa.github.io/cc-edit

Drag-drop your ~/.claude/projects/ folder (or any subfolder) to analyze.

How it works

Reads ~/.claude/projects/**/*.jsonl session transcripts and extracts every Edit tool call. Tracks file_path, old_string length, new_string length, and replace_all flag. Aggregates by file, extension, and project. Zero external dependencies.


Part of cc-toolkit — 70 tools for understanding your Claude Code sessions.