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

todo-hunter

v1.0.1

Published

Scan a repo for TODO/FIXME/HACK comments and render them as an ASCII radar, grouped by how old they are (via git blame).

Readme

todo-hunter

Scan a codebase for TODO / FIXME / HACK / XXX comments and see them plotted on an ASCII radar — grouped by how old each one is, according to git blame. Fresh TODOs sit near the center; ancient ones drift to the edge.

No dependencies. Just Node + git.

Install

npm install -g todo-hunter

Or run it without installing:

npx todo-hunter

Usage

todo-hunter                # scan the current directory
todo-hunter ./src          # scan a specific directory
todo-hunter --json         # machine-readable output

Example output

todo-hunter — scanning /Users/Luketonium/ChemLab
                    |                    
              .............              
          .....     |     .....          
        ...    ...........    ...        
      ..   .....    |    .....   ..      
    ..    ..    .........    ..    ..    
    .   ..   ....   |   ....   ..   .    
   .   ..   ..      |      ...  ..   .   
  ..  ..  ..     .......     ..  ..  ..  
  .   .   .     ..  |  ..     .   .   .  
--.---.---.-----.---+*--.-----.---.---.--
  .   .   .     ..  |  ..     .   .   .  
  ..  ..  ..     .......     ..  ..  ..  
   .   ..  ...      |      ...  ..   .   
    .   ..   ....   |   ....   ..   .    
    ..    ..    .........    ..    ..    
      ..   .....    |    .....   ..      
        ...    ...........    ...        
          .....     |     .....          
              .............              
                    |   

Legend:
  *  Fresh (<7d)
  o  Aging (7-30d)
  +  Stale (30-90d)
  #  Ancient (>90d)
  ?  Unknown age

Found 4 markers across the scanned files.

* Fresh (<7d): 1
o Aging (7-30d): 1
+ Stale (30-90d): 1
# Ancient (>90d): 1

Oldest markers:
  FIXME src/legacy/parser.js:112 (214d) — replace regex hack with a real parser
  TODO src/api/routes.js:48 (61d) — add pagination
  HACK src/utils/format.js:9 (18d) — remove once date-fns upgrade lands
  TODO src/index.js:3 (2d) — write integration tests

How it works

  1. Walks the directory tree (skipping node_modules, .git, dist, build, etc.) and reads common source file extensions.
  2. Finds lines where TODO, FIXME, HACK, or XXX appears after a comment token (//, #, /*, *, <!--, --) — so it won't flag the word showing up in a string or regex.
  3. For each hit, runs git blame -L <line>,<line> --porcelain to find the commit's timestamp, and buckets the marker by age:
    • Fresh — under 7 days old
    • Aging — 7–30 days
    • Stale — 30–90 days
    • Ancient — over 90 days
    • Unknown — file isn't tracked by git, or git isn't available
  4. Renders the buckets as concentric rings on an ASCII radar, with each marker plotted as a colored blip at a random angle within its ring.

The radar is meant to give a quick "vibe check" — not precise coordinates. For exact locations, read the summary list below it, or use --json.

Options

| Flag | Description | |-----------------|-------------------------------------------| | -d, --dir | Directory to scan (default: .) | | --json | Print raw JSON instead of the radar | | -h, --help | Show help |

Respects NO_COLOR to disable ANSI colors.

Limitations

  • Requires the repo to be a git repository for age data; otherwise markers show as "Unknown age".
  • It's a line-based scanner, not a real comment parser — a docstring that discusses TODOs (like this README) will also get matched if it's inside actual comment syntax in a source file.
  • Radar blip positions are randomized within their ring for visual spread, not meaningful spatial coordinates.

License

MIT