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

@lowdep/todo-scan

v1.0.0

Published

Scan source code for TODO/FIXME/HACK/BUG comments with structured output and CI support — zero dependencies

Readme

todo-scan

Zero dependencies Node License: MIT Platform

Scan your source code for TODO, FIXME, HACK, BUG, and other comment tags. Groups results by type, shows file and line, and optionally pulls git blame info. Zero dependencies.

Works on Windows, Mac, and Linux — unlike grep -r TODO (Unix-only) or todocheck (needs Go).


Install

npm install -g todo-scan

Or without installing:

npx todo-scan

Usage

todo-scan                          # Scan current directory
todo-scan src/                     # Scan a specific directory
todo-scan --type TODO,FIXME        # Filter to specific tags
todo-scan --blame                  # Show author and age from git blame
todo-scan --format json            # JSON output
todo-scan --format github          # GitHub Actions annotation format
todo-scan --strict --type FIXME    # Fail CI if any FIXMEs

Example Output

todo-scan  /my-project
  12 item(s):  BUG 1  FIXME 3  HACK 2  NOTE 4  TODO 2

  BUG  (1)
    src/auth/session.js:47  Session tokens not invalidated on logout
  
  FIXME  (3)
    src/api/users.js:12   Paginate this query — it'll OOM on large datasets
    src/api/users.js:89   Handle 429 from upstream
    src/db/migrate.js:31  Transaction not rolled back on partial failure
  
  HACK  (2)
    src/utils/retry.js:5  Exponential backoff hardcoded to 3 retries
    config/webpack.js:78  Suppress deprecation warning until webpack 6
  
  TODO  (2)
    README.md:14  Add screenshots
    src/worker.js:22  Move to queue-based processing

With --blame

  FIXME  (1)
    src/api/users.js:12  Paginate this query — it'll OOM on large datasets — Alice, 47d ago

Tags Scanned by Default

TODO · FIXME · HACK · XXX · NOTE · OPTIMIZE · BUG · DEPRECATED · REVIEW

Customize with --type:

todo-scan --type TODO,FIXME,HACK

CI Integration

# Fail the build if any FIXME comments exist
- name: No FIXMEs allowed
  run: npx todo-scan --strict --type FIXME

# Post annotations in GitHub Actions
- name: Scan TODOs
  run: npx todo-scan --format github

Supported Languages

JavaScript, TypeScript, Python, Ruby, PHP, Go, Rust, Java, Kotlin, Swift, C/C++, C#, Shell, YAML, HTML, CSS, SQL, Terraform, Vue, Svelte, and more.


License

MIT


Keywords

todo finder · fixme · code comments · technical debt · find todos · todo list · hack xxx · annotation scanner · zero dependencies · cli


Built to solve, shared to help — Rushabh Shah 🛠️✨

One of 40+ zero-dependency developer CLI tools — no node_modules, ever.