NPM wrapper for DebtBomb CLI
npm install debtbomb

An npm wrapper for DebtBomb, a Go-based CLI tool to manage and track technical debt directly in your code using "bombs" that expire.
- No Go required: Automatically downloads the correct binary for your OS (macOS, Linux, Windows).
- Per-project installation: Keep your debt tracking versioned with your project.
- CI/CD Ready: Works seamlessly in GitHub Actions, Vercel, Netlify, etc.
- Zero Configuration: Just install and run.
``bash`
npm install --save-dev debtbombor
yarn add -D debtbombor
pnpm add -D debtbomb
bash
npx debtbomb list
`$3
Add these to your package.json:
`json
{
"scripts": {
"debt:check": "debtbomb check",
"debt:report": "debtbomb report"
}
}
`Commands
-
debtbomb check: Scan for expired debtbombs and exit with code 1 if found (perfect for CI).
- debtbomb list: List all debtbombs found in the project.
- debtbomb report: Show aggregated statistics about your technical debt.
- debtbomb notify: Send notifications (Jira/Slack) about expiring debt.How it works
This package is a thin wrapper. On installation, a
postinstall script detects your operating system and architecture, then downloads the appropriate official release binary from GitHub. All arguments passed to the debtbomb` command are transparently proxied to the Go binary.MIT