You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-10Lines changed: 5 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,13 @@ A lightweight JavaScript debugging utility, forked from [debug](https://www.npmj
9
9
> [!NOTE]
10
10
> obug v1 retains most of the compatibility with [debug](https://github.com/debug-js/debug), but drops support for older browsers and Node.js, making it a drop-in replacement.
11
11
>
12
-
> The upcoming v2 refactors some API imports and usage for better support of ESM and TypeScript, easier customization, and an even smaller package size.
12
+
> obug v2 refactors some API imports and usage for better support of ESM and TypeScript, easier customization, and an even smaller package size.
13
13
14
14
## Key Differences from `debug`
15
15
16
16
- ✨ Minimal footprint
17
+
- 7.7 kB package size
18
+
- 1.4 KB minified + gzipped for browsers
17
19
- 📦 Zero dependencies
18
20
- 📝 Full TypeScript support
19
21
- 🚀 Native ESM compatibility
@@ -29,23 +31,16 @@ npm install obug
29
31
30
32
## Usage
31
33
32
-
Please refer to the original [debug](https://github.com/debug-js/debug#usage) package for usage instructions.
33
-
34
-
## Refactor Plan
35
-
36
-
The obug package is currently a direct fork of the debug package with minimal modifications. The following refactor plan outlines the intended changes to be made in future releases.
0 commit comments