debug
npmv4.4.3Lightweight debugging utility for Node.js and the browser
Overview
debug is an npm package that lightweight debugging utility for Node.js and the browser. It is extremely widely used, with about 611.9M downloads per week and 4 known dependents in the graph. The latest version is 4.4.3, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need lightweight debugging utility for Node.js and the browser and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (611.9M weekly downloads).
- Clear open-source license (MIT).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of debug.
Dependencies
Runtime (1)
Dev (11)
Used by
Popular packages that depend on debug.
An AST-based pattern checker for JavaScript.
Node.js final http responder
Node.js body parsing middleware
Better streaming static file server with Range and conditional-GET support
Fast, unopinionated, minimalist web framework
Simple middleware-style router
node.js realtime framework server
A batteries-included SQL query & schema builder for PostgresSQL, MySQL, CockroachDB, MSSQL and SQLite3
Robust, expressive, and feature-rich CSS superset
The official Node.js client library for Gel
socket.io protocol parser
An HTTP(s) proxy `http.Agent` implementation for HTTPS
General purpose glob-based configuration matching.
A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.
The realtime engine behind Socket.IO. Provides the foundation of a bidirectional connection between client and server
default socket.io in-memory adapter
Alternatives to debug
A noop logger that conforms to the Log4j interface for modules to stub out internal logging
Node is running but you don't know why? why-is-node-running is here to help you.
Converts a source-map from/to different formats and allows adding/changing properties.
Frequently installed together
An AST-based pattern checker for JavaScript.
TypeScript definitions for node
Execute a callback when a request closes, finishes, or errors
The semantic version parser used by npm.
HTTP status utility
Create HTTP error objects
Encode a URL to a percent-encoded form, excluding already-encoded sequences
Higher-level content negotiation
Prettier is an opinionated code formatter
Escape string for use in HTML
parse a url with memoization
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Version history
| Version | Published | License |
|---|---|---|
| 4.4.3latest | 10 months ago | MIT |
| 4.4.1 | 1 year ago | MIT |
| 4.4.0 | 1 year ago | MIT |
| 4.3.7 | 1 year ago | MIT |
| 4.3.6 | 2 years ago | MIT |
| 4.3.5 | 2 years ago | MIT |
| 4.3.4 | 4 years ago | MIT |
| 4.3.3 | 4 years ago | MIT |
| 4.3.2 | 5 years ago | MIT |
| 3.2.7 | 5 years ago | MIT |
| 4.3.1 | 5 years ago | MIT |
| 4.3.0 | 5 years ago | MIT |
| 4.2.0 | 6 years ago | MIT |
| 4.1.1 | 7 years ago | MIT |
| 3.2.6 | 7 years ago | MIT |
| 4.1.0 | 7 years ago | MIT |
| 4.0.1 | 7 years ago | MIT |
| 3.2.5 | 7 years ago | MIT |
| 3.2.4 | 7 years ago | MIT |
| 4.0.0 | 7 years ago | MIT |
Maintainers
Frequently asked questions
How do I install debug?
Run `npm install debug` to add debug to your npm project.
What license is debug released under?
debug is distributed under the MIT license.
How popular is debug?
debug has approximately 611,863,095 downloads per week and 4 known dependent packages.