@efinitydev/project-graveyard-scanner
v1.1.5
Published
A CLI tool to scan projects for stale TODOs and abandoned code.
Maintainers
Readme
🪦 Project Graveyard Scanner (PGS)
A professional CLI tool and library by Efinity to sift through your projects and collect all forgotten TODO, FIXME, and HACK comments.
Why PGS?
As developers, we leave comments throughout our code. Many of these tasks are never completed and disappear into the "project graveyard." PGS brings these tasks back to life by reporting them centrally, helping you keep your codebase clean.
Features
- CLI Tool: Fast and colorful terminal output to scan any directory.
- Library Support: Exported functions to integrate scanning logic into your own (React/Node) applications.
- CI Ready: Includes GitHub Actions workflow for automated build verification.
- Fast Scanning: Uses
fast-globfor high-performance file system traversal.
Installation
Global CLI
Install the tool globally to use the pgs command anywhere:
npm install -g @efinitydev/project-graveyard-scannerAs a Library
Add it to your project:
npm install @efinitydev/project-graveyard-scannerUsage
CLI
Scan the current directory:
pgsScan a specific directory with exclusions:
pgs /path/to/projects --exclude "node_modules,dist,temp"Save results to a Markdown report:
pgs . --output GRAVEYARD.mdLibrary API
import { scanDirectory, report } from '@efinitydev/project-graveyard-scanner';
const results = await scanDirectory('./my-projects', ['node_modules']);
console.log(results);License
This project is licensed under the PolyForm Non-Commercial License 1.0.0. See the LICENSE file for details. For commercial usage, please contact Efinity (Emiel Dehaen).
Built with ⚡ by Efinity
