obug is a lightweight JavaScript debugging utility, forked from debug, with TypeScript and native ESM support. It helps developers enable and disable debug output by namespace (for example via the DEBUG environment variable or browser localStorage), and provides customizable formatting and logging with a small footprint for modern runtimes.
Project status
- Actively maintained: The repository has a recent upstream push on 2026-06-04 and tagged updates v2.1.2 on the same day, with additional updates in 2025-11.
- Update cadence: Based on v2.1.1 (2025-11-22), v2.1.0 (2025-11-19), and v2.1.2 (2026-06-04), the apparent cadence is “clustered in late 2025, then a longer gap until mid-2026,” rather than a steady monthly rhythm.
AI summary generated Today
Recent updates
v2.1.2
4 days agoRelease v2.1.2 has release notes that claim no significant changes. The actual diff shows multiple repository and packaging updates (JSR publishing config, GitHub workflow changes, and a runtime code tweak in src/node.ts), plus substantial dependency/tooling bumps and a large README expansion.
BreakingFeaturesv2.1.1
6 months agov2.1.1 is a small release focused on improving performance in environment variable parsing used for debug inspection options. The diff mainly changes how string values for debug_* flags are coerced into booleans, and makes a minor documentation adjustment in the README.
v2.1.0
6 months agov2.1.0 primarily introduces customization of the `humanize` function used to format the time delta in debug output. However, the underlying implementation changes are much broader than the release notes indicate, including a refactor of the public API exports and changes to how formatting hooks receive timing information.
Featuresv1.0.2
6 months agoRelease v1.0.2 does not document any significant changes. The actual diff shows only a package version bump in package.json from 1.0.1 to 1.0.2, with no other code or configuration changes.
v1.0.1
6 months agoRelease v1.0.1 claims no significant changes, but the repo diff shows removal of a TypeScript types file and substantial lockfile/developer-tooling updates. Documentation was also trimmed by removing a “Refactor Plan” section from the README.
v2.0.0
6 months agoRelease v2.0.0 is presented as a rewrite of v2, but the release notes do not enumerate any concrete user-facing changes. The actual diff is small and mostly documentation, with notable public API surface changes in the core/node modules.
Featuresv2.0.0-beta.1
6 months agov2.0.0-beta.1 is a major internal rewrite of the library, with the core moved to a new createDebug/enable/disable model and separate environment wrappers for browser and Node. The release notes do not enumerate user-facing API changes, but the diff shows several export and behavior changes that can break existing consumers.
Featuresv1.0.0
6 months agoRelease notes for v1.0.0 state that there are no significant changes. The actual diff shows a major version bump plus substantial TypeScript definition and documentation updates, and a small runtime adjustment related to how properties are attached to the debug function.
Featuresv0.1.3
6 months agov0.1.3 primarily changes the published export surface to avoid exposing internal APIs, aligning behavior more closely with the upstream debug package. The code diff shows specific named exports removed and additional CommonJS-style compatibility exports added, along with new conformance tests and stricter CI typechecking.
Breakingv0.1.2
6 months agov0.1.2 makes Node the default entry point for the package and includes a small build optimization to reduce generated output. The release notes describe the Node-default behavior and JSDoc removal, but the diff also shows additional packaging and build configuration changes not fully covered.
Breaking