debug-js/debug
A tiny JavaScript debugging utility modelled after Node.js core's debugging technique. Works in Node.js and web browsers observed · 2026-08-28
Health v2 · maintenance only
62/100
- Activity 75
- Release rhythm 23
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 122
- age_days: 5392
- days_rel: 354
- days_push: 154
- n_releases_24m: 4
Adoption not part of the score
11451 stars · 987 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A tiny JavaScript debugging utility modeled after Node.js core's debugging technique that exposes namespaced debug loggers controlled via the DEBUG environment variable. It works in both Node.js and web browsers, with color-coded output per namespace.
Use cases
- add toggleable debug logging to a node.js app
- filter debug output by module namespace
- debug javascript code in the browser
- replace console.log with controllable debug statements
- color-code log output per module
- enable verbose logging via environment variable
When to choose
- you want lightweight, zero-config debug logging in Node.js or the browser
- you need fine-grained control over which modules emit debug output
- you want a battle-tested utility used across the npm ecosystem
When to avoid
- you need structured logging, log levels, or log shipping to external systems
- you want a full logging framework with file output and rotation
- you need production observability like tracing or metrics
Facets
library · maturity stable
logging developer-tools developer-tools web-development backend frontend browser cross-platform debugging console-output namespaced-logging environment-variable tiny-library nodejs javascript
2 sources
- readme: https://github.com/debug-js/debug · fetched 2026-08-28 · 34415efd32af
- registry_npm: https://registry.npmjs.org/debug · fetched 2026-08-29 · f6c5b5878b69
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| debug-js/debug | main | 62 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem