{"_id":"obug","_rev":"4119137","name":"obug","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","dist-tags":{"latest":"2.1.1","latest-v1":"1.0.2"},"maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"time":{"modified":"2026-02-13T22:09:33.000Z","created":"2025-11-11T17:51:25.247Z","2.1.1":"2025-11-22T09:31:55.146Z","2.1.0":"2025-11-19T23:02:27.534Z","1.0.2":"2025-11-19T07:42:39.421Z","2.0.0":"2025-11-15T17:24:45.994Z","2.0.0-beta.1":"2025-11-13T00:51:04.209Z","1.0.0":"2025-11-12T20:56:09.972Z","0.1.3":"2025-11-12T12:18:39.371Z","0.1.2":"2025-11-12T11:21:10.858Z","0.1.1":"2025-11-11T23:11:24.860Z","0.1.0":"2025-11-11T22:31:16.348Z","0.0.1":"2025-11-11T21:34:20.151Z","0.0.0":"2025-11-11T17:51:25.247Z"},"users":{},"author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"repository":{"type":"git","url":"git+https://github.com/sxzz/obug.git"},"versions":{"2.1.1":{"name":"obug","version":"2.1.1","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","type":"module","license":"MIT","homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"repository":{"type":"git","url":"git+https://github.com/sxzz/obug.git"},"author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"main":"./dist/node.js","module":"./dist/node.js","types":"./dist/browser.d.ts","exports":{".":{"browser":"./dist/browser.js","default":"./dist/node.js"},"./package.json":"./package.json"},"unpkg":"./dist/browser.min.js","jsdelivr":"./dist/browser.min.js","publishConfig":{"access":"public"},"devDependencies":{"@sxzz/eslint-config":"^7.3.0","@sxzz/prettier-config":"^2.2.5","@types/debug":"^4.1.12","@types/node":"^24.10.1","@vitest/browser-playwright":"^4.0.10","@vitest/coverage-v8":"^4.0.10","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","playwright":"^1.56.1","prettier":"^3.6.2","tsdown":"^0.16.5","typescript":"^5.9.3","vite":"^7.2.2","vitest":"^4.0.10"},"prettier":"@sxzz/prettier-config","scripts":{"lint":"eslint --cache .","lint:fix":"pnpm run lint --fix","build":"tsdown","dev":"tsdown --watch","test":"vitest","test:coverage":"vitest --project node --coverage","play":"vite playground","typecheck":"tsc --noEmit","format":"prettier --cache --write .","release":"bumpp"},"_id":"obug@2.1.1","_integrity":"sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ==","_resolved":"/tmp/c65d75f8924fca4eeba0600b643d3c45/obug-2.1.1.tgz","_from":"file:obug-2.1.1.tgz","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"shasum":"2cba74ff241beb77d63055ddf4cd1e9f90b538be","size":8075,"noattachment":false,"key":"/obug/-/obug-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/obug/download/obug-2.1.1.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:280df2e7-b41f-43bd-b495-a0b67a441b9c"}},"directories":{},"maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/obug_2.1.1_1763803914948_0.02957185272971019"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-22T09:31:55.146Z","publish_time":1763803915146,"_source_registry_name":"default","_cnpm_publish_time":1763803915146},"2.1.0":{"name":"obug","version":"2.1.0","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","type":"module","license":"MIT","homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"repository":{"type":"git","url":"git+https://github.com/sxzz/obug.git"},"author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"main":"./dist/node.js","module":"./dist/node.js","types":"./dist/browser.d.ts","exports":{".":{"browser":"./dist/browser.js","default":"./dist/node.js"},"./package.json":"./package.json"},"unpkg":"./dist/browser.min.js","jsdelivr":"./dist/browser.min.js","publishConfig":{"access":"public"},"devDependencies":{"@sxzz/eslint-config":"^7.3.0","@sxzz/prettier-config":"^2.2.5","@types/debug":"^4.1.12","@types/node":"^24.10.1","@vitest/browser-playwright":"^4.0.10","@vitest/coverage-v8":"^4.0.10","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","playwright":"^1.56.1","prettier":"^3.6.2","tsdown":"^0.16.5","typescript":"^5.9.3","vite":"^7.2.2","vitest":"^4.0.10"},"prettier":"@sxzz/prettier-config","scripts":{"lint":"eslint --cache .","lint:fix":"pnpm run lint --fix","build":"tsdown","dev":"tsdown --watch","test":"vitest","test:coverage":"vitest --project node --coverage","play":"vite playground","typecheck":"tsc --noEmit","format":"prettier --cache --write .","release":"bumpp"},"_id":"obug@2.1.0","_integrity":"sha512-uu/tgLPoa75CFA7UDkmqspKbefvZh1WMPwkU3bNr0PY746a/+xwXVgbw5co5C3GvJj3h5u8g/pbxXzI0gd1QFg==","_resolved":"/tmp/53f39a545248c287cd5f735a4afef286/obug-2.1.0.tgz","_from":"file:obug-2.1.0.tgz","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"shasum":"c5669094b3c8ae21a6097871c32cc908cac06cf9","size":8093,"noattachment":false,"key":"/obug/-/obug-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/obug/download/obug-2.1.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:280df2e7-b41f-43bd-b495-a0b67a441b9c"}},"directories":{},"maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/obug_2.1.0_1763593347288_0.1392332977704649"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-19T23:02:27.534Z","publish_time":1763593347534,"_source_registry_name":"default","_cnpm_publish_time":1763593347534},"1.0.2":{"name":"obug","version":"1.0.2","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","type":"module","license":"MIT","homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"repository":{"type":"git","url":"git+https://github.com/sxzz/obug.git"},"author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"main":"./dist/node.js","module":"./dist/node.js","types":"./dist/browser.d.ts","exports":{".":{"browser":"./dist/browser.js","default":"./dist/node.js"},"./package.json":"./package.json"},"unpkg":"./dist/browser.min.js","jsdelivr":"./dist/browser.min.js","publishConfig":{"access":"public"},"peerDependencies":{"ms":"^2.0.0"},"peerDependenciesMeta":{"ms":{"optional":true}},"devDependencies":{"@sxzz/eslint-config":"^7.3.0","@sxzz/prettier-config":"^2.2.5","@types/debug":"^4.1.12","@types/node":"^24.10.1","@vitest/browser-playwright":"^4.0.10","@vitest/coverage-v8":"^4.0.10","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","playwright":"^1.56.1","prettier":"^3.6.2","tsdown":"^0.16.5","typescript":"^5.9.3","vite":"^7.2.2","vitest":"^4.0.10"},"prettier":"@sxzz/prettier-config","scripts":{"lint":"eslint --cache .","lint:fix":"pnpm run lint --fix","build":"tsdown","dev":"tsdown --watch","test":"vitest","test:coverage":"vitest --project node --coverage","play":"vite playground","typecheck":"tsc --noEmit","format":"prettier --cache --write .","release":"bumpp"},"_id":"obug@1.0.2","_integrity":"sha512-Q3KPMFHLmJ4KENpj3HNkzU7nngmrgXrr7h19DHx/8+hNAD2St6zzb8Mamfj3VzrVTbjnIyu94WwPBO5yAB+kCQ==","_resolved":"/tmp/ef5bb933642b95ec93fff8e981f5ebd4/obug-1.0.2.tgz","_from":"file:obug-1.0.2.tgz","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"shasum":"198dbd7f357bd7a83a34b56849e728c8fae02707","size":7967,"noattachment":false,"key":"/obug/-/obug-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/obug/download/obug-1.0.2.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:280df2e7-b41f-43bd-b495-a0b67a441b9c"}},"directories":{},"maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/obug_1.0.2_1763538159221_0.9843818616676991"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-19T07:42:39.421Z","publish_time":1763538159421,"_source_registry_name":"default","_cnpm_publish_time":1763538159421},"2.0.0":{"name":"obug","version":"2.0.0","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","type":"module","license":"MIT","homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"repository":{"type":"git","url":"git+https://github.com/sxzz/obug.git"},"author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"main":"./dist/node.js","module":"./dist/node.js","types":"./dist/browser.d.ts","exports":{".":{"browser":"./dist/browser.js","default":"./dist/node.js"},"./package.json":"./package.json"},"unpkg":"./dist/browser.min.js","jsdelivr":"./dist/browser.min.js","publishConfig":{"access":"public"},"peerDependencies":{"ms":"^2.0.0"},"peerDependenciesMeta":{"ms":{"optional":true}},"devDependencies":{"@sxzz/eslint-config":"^7.2.10","@sxzz/prettier-config":"^2.2.4","@types/debug":"^4.1.12","@types/node":"^24.10.0","@vitest/browser-playwright":"^4.0.8","@vitest/coverage-v8":"^4.0.8","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","playwright":"^1.56.1","prettier":"^3.6.2","tsdown":"^0.16.2","typescript":"^5.9.3","vite":"^7.2.2","vitest":"^4.0.8"},"prettier":"@sxzz/prettier-config","scripts":{"lint":"eslint --cache .","lint:fix":"pnpm run lint --fix","build":"tsdown","dev":"tsdown --watch","test":"vitest","test:coverage":"vitest --project node --coverage","play":"vite playground","typecheck":"tsc --noEmit","format":"prettier --cache --write .","release":"bumpp"},"_id":"obug@2.0.0","_integrity":"sha512-dpSQuPXoKUjulinHmXjZV1YIRhOLEqBl1J6PYi9mRQR2dYcSK+OULRr+GuT1vufk2f40mtIOqmSL/aTikjmq5Q==","_resolved":"/tmp/a3c18881f2b5d4f60797301646c3d59e/obug-2.0.0.tgz","_from":"file:obug-2.0.0.tgz","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"shasum":"30c1ebb521ea0af82c06339e1b7835b0ce8b54ac","size":8112,"noattachment":false,"key":"/obug/-/obug-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/obug/download/obug-2.0.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:280df2e7-b41f-43bd-b495-a0b67a441b9c"}},"directories":{},"maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/obug_2.0.0_1763227485748_0.423882577186258"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-15T17:24:45.994Z","publish_time":1763227485994,"_source_registry_name":"default","_cnpm_publish_time":1763227485994},"2.0.0-beta.1":{"name":"obug","version":"2.0.0-beta.1","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","type":"module","license":"MIT","homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"repository":{"type":"git","url":"git+https://github.com/sxzz/obug.git"},"author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"main":"./dist/node.js","module":"./dist/node.js","types":"./dist/browser.d.ts","exports":{".":{"browser":"./dist/browser.js","default":"./dist/node.js"},"./package.json":"./package.json"},"unpkg":"./dist/browser.min.js","jsdelivr":"./dist/browser.min.js","publishConfig":{"access":"public"},"peerDependencies":{"ms":"^2.0.0"},"peerDependenciesMeta":{"ms":{"optional":true}},"devDependencies":{"@sxzz/eslint-config":"^7.2.10","@sxzz/prettier-config":"^2.2.4","@types/debug":"^4.1.12","@types/node":"^24.10.0","@vitest/browser-playwright":"^4.0.8","@vitest/coverage-v8":"^4.0.8","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","playwright":"^1.56.1","prettier":"^3.6.2","tsdown":"^0.16.2","typescript":"^5.9.3","vite":"^7.2.2","vitest":"^4.0.8"},"prettier":"@sxzz/prettier-config","scripts":{"lint":"eslint --cache .","lint:fix":"pnpm run lint --fix","build":"tsdown","dev":"tsdown --watch","test":"vitest","test:coverage":"vitest --project node --coverage","play":"vite playground","typecheck":"tsc --noEmit","format":"prettier --cache --write .","release":"bumpp"},"_id":"obug@2.0.0-beta.1","_integrity":"sha512-ZLlTxsqypxnn4zUJYW3ia+ZnZVHi8TqStonni2HRj3eGqFVJ3O0Xf5MSDVq5XKHq+qtYF+paqipzhndN6yIqcg==","_resolved":"/tmp/15670dbc66ef2019d8da5c48e1d9449e/obug-2.0.0-beta.1.tgz","_from":"file:obug-2.0.0-beta.1.tgz","_nodeVersion":"24.11.0","_npmVersion":"11.6.1","dist":{"shasum":"061d9982d453cf18beaac008dab0ebac1b10fa11","size":7928,"noattachment":false,"key":"/obug/-/obug-2.0.0-beta.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/obug/download/obug-2.0.0-beta.1.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:280df2e7-b41f-43bd-b495-a0b67a441b9c"}},"directories":{},"maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/obug_2.0.0-beta.1_1762995064016_0.7142779566510493"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-13T00:51:04.209Z","publish_time":1762995064209,"_source_registry_name":"default","_cnpm_publish_time":1762995064209},"1.0.0":{"name":"obug","version":"1.0.0","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","type":"module","license":"MIT","homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"repository":{"type":"git","url":"git+https://github.com/sxzz/obug.git"},"author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"main":"./dist/node.js","module":"./dist/node.js","types":"./dist/browser.d.ts","exports":{".":{"browser":"./dist/browser.js","default":"./dist/node.js"},"./package.json":"./package.json"},"unpkg":"./dist/browser.min.js","jsdelivr":"./dist/browser.min.js","publishConfig":{"access":"public"},"peerDependencies":{"ms":"^2.0.0"},"peerDependenciesMeta":{"ms":{"optional":true}},"devDependencies":{"@sxzz/eslint-config":"^7.2.10","@sxzz/prettier-config":"^2.2.4","@types/debug":"^4.1.12","@types/node":"^24.10.0","@vitest/browser-playwright":"^4.0.8","@vitest/coverage-v8":"^4.0.8","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","playwright":"^1.56.1","prettier":"^3.6.2","tsdown":"^0.16.2","typescript":"^5.9.3","vite":"^7.2.2","vitest":"^4.0.8"},"prettier":"@sxzz/prettier-config","scripts":{"lint":"eslint --cache .","lint:fix":"pnpm run lint --fix","build":"tsdown","dev":"tsdown --watch","test":"vitest","test:coverage":"vitest --project node --coverage","play":"vite playground","typecheck":"tsc --noEmit","format":"prettier --cache --write .","release":"bumpp"},"_id":"obug@1.0.0","_integrity":"sha512-WKcS43Yl6YPJekid7KiRdT6CHMSmYWVfJiSFbTaGxWQlC+cEBPxHa9jR1uS2cMiQmXd8Hsa2ipAKErQ/GLhSpg==","_resolved":"/tmp/cb2598882ed5536c00c4ad10136f0d5c/obug-1.0.0.tgz","_from":"file:obug-1.0.0.tgz","_nodeVersion":"24.11.0","_npmVersion":"11.6.1","dist":{"shasum":"cbfafcfd7fb3549cfc6399d476f91a8abf70844b","size":8418,"noattachment":false,"key":"/obug/-/obug-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/obug/download/obug-1.0.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:280df2e7-b41f-43bd-b495-a0b67a441b9c"}},"directories":{},"maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/obug_1.0.0_1762980969767_0.852119856339757"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-12T20:56:09.972Z","publish_time":1762980969972,"_source_registry_name":"default","_cnpm_publish_time":1762980969972},"0.1.3":{"name":"obug","version":"0.1.3","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","type":"module","license":"MIT","homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"repository":{"type":"git","url":"git+https://github.com/sxzz/obug.git"},"author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"main":"./dist/node.js","module":"./dist/node.js","types":"./dist/browser.d.ts","exports":{".":{"browser":"./dist/browser.js","default":"./dist/node.js"},"./package.json":"./package.json"},"unpkg":"./dist/browser.min.js","jsdelivr":"./dist/browser.min.js","publishConfig":{"access":"public"},"peerDependencies":{"ms":"^2.0.0"},"peerDependenciesMeta":{"ms":{"optional":true}},"devDependencies":{"@sxzz/eslint-config":"^7.2.10","@sxzz/prettier-config":"^2.2.4","@types/debug":"^4.1.12","@types/node":"^24.10.0","@vitest/browser-playwright":"^4.0.8","@vitest/coverage-v8":"^4.0.8","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","playwright":"^1.56.1","prettier":"^3.6.2","tsdown":"^0.16.2","typescript":"^5.9.3","vite":"^7.2.2","vitest":"^4.0.8"},"prettier":"@sxzz/prettier-config","scripts":{"lint":"eslint --cache .","lint:fix":"pnpm run lint --fix","build":"tsdown","dev":"tsdown --watch","test":"vitest","test:coverage":"vitest --project node --coverage","play":"vite playground","typecheck":"tsc --noEmit","format":"prettier --cache --write .","release":"bumpp"},"_id":"obug@0.1.3","_integrity":"sha512-9fwkQ1jsVEqi3I3so5QA4yLPW2QVtekrIpiVUWyw8c/BApPHYj0gohWby3qzK30X58lyksSqcbfvO0vOwKFWqQ==","_resolved":"/tmp/4d38f7eae3d083077395634606227232/obug-0.1.3.tgz","_from":"file:obug-0.1.3.tgz","_nodeVersion":"24.11.0","_npmVersion":"11.6.1","dist":{"shasum":"4cfb716f7aaca542ba311efbf9b51017ba8bf4bf","size":7729,"noattachment":false,"key":"/obug/-/obug-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/obug/download/obug-0.1.3.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:280df2e7-b41f-43bd-b495-a0b67a441b9c"}},"directories":{},"maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/obug_0.1.3_1762949919196_0.43173280545645465"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-12T12:18:39.371Z","publish_time":1762949919371,"_source_registry_name":"default","_cnpm_publish_time":1762949919371},"0.1.2":{"name":"obug","version":"0.1.2","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","type":"module","license":"MIT","homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"repository":{"type":"git","url":"git+https://github.com/sxzz/obug.git"},"author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"main":"./dist/node.js","module":"./dist/node.js","types":"./dist/browser.d.ts","exports":{".":{"browser":"./dist/browser.js","default":"./dist/node.js"},"./package.json":"./package.json"},"unpkg":"./dist/browser.min.js","jsdelivr":"./dist/browser.min.js","publishConfig":{"access":"public"},"peerDependencies":{"ms":"^2.0.0"},"peerDependenciesMeta":{"ms":{"optional":true}},"devDependencies":{"@sxzz/eslint-config":"^7.2.10","@sxzz/prettier-config":"^2.2.4","@types/debug":"^4.1.12","@types/node":"^24.10.0","@vitest/browser-playwright":"^4.0.8","@vitest/coverage-v8":"^4.0.8","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","playwright":"^1.56.1","prettier":"^3.6.2","tsdown":"^0.16.2","typescript":"^5.9.3","vite":"^7.2.2","vitest":"^4.0.8"},"prettier":"@sxzz/prettier-config","scripts":{"lint":"eslint --cache .","lint:fix":"pnpm run lint --fix","build":"tsdown","dev":"tsdown --watch","test":"vitest","test:coverage":"vitest --project node --coverage","play":"vite playground","typecheck":"tsc --noEmit","format":"prettier --cache --write .","release":"bumpp"},"_id":"obug@0.1.2","_integrity":"sha512-C7iXUCdmOELRgNJBw2qKGnqQZOQTWVJKBuKYVPJyMUF76DTzleJY+RDNOEBFS4FD6ETwEK+gZ2rIC54+DNPwxA==","_resolved":"/tmp/0288348ac09f9d1bfc6be29f8e81ed46/obug-0.1.2.tgz","_from":"file:obug-0.1.2.tgz","_nodeVersion":"24.11.0","_npmVersion":"11.6.1","dist":{"shasum":"6314662ae0d0edbd27c5191ee73b57166da52f77","size":7753,"noattachment":false,"key":"/obug/-/obug-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/obug/download/obug-0.1.2.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:280df2e7-b41f-43bd-b495-a0b67a441b9c"}},"directories":{},"maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/obug_0.1.2_1762946470666_0.9539950379796669"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-12T11:21:10.858Z","publish_time":1762946470858,"_source_registry_name":"default","_cnpm_publish_time":1762946470858},"0.1.1":{"name":"obug","version":"0.1.1","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","type":"module","license":"MIT","homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"repository":{"type":"git","url":"git+https://github.com/sxzz/obug.git"},"author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"types":"./dist/browser.d.ts","exports":{".":{"node":"./dist/node.js","default":"./dist/browser.js"},"./package.json":"./package.json"},"unpkg":"./dist/browser.min.js","jsdelivr":"./dist/browser.min.js","publishConfig":{"access":"public"},"peerDependencies":{"ms":"^2.0.0"},"peerDependenciesMeta":{"ms":{"optional":true}},"devDependencies":{"@sxzz/eslint-config":"^7.2.10","@sxzz/prettier-config":"^2.2.4","@types/debug":"^4.1.12","@types/node":"^24.10.0","@vitest/browser-playwright":"^4.0.8","@vitest/coverage-v8":"^4.0.8","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","playwright":"^1.56.1","prettier":"^3.6.2","tsdown":"^0.16.2","typescript":"^5.9.3","vite":"^7.2.2","vitest":"^4.0.8"},"prettier":"@sxzz/prettier-config","scripts":{"lint":"eslint --cache .","lint:fix":"pnpm run lint --fix","build":"tsdown","dev":"tsdown --watch","test":"vitest","test:coverage":"vitest --project node --coverage","play":"vite playground","typecheck":"tsc --noEmit","format":"prettier --cache --write .","release":"bumpp"},"_id":"obug@0.1.1","_integrity":"sha512-idmtuvNcQDncavr1pJDd9oCsU+2HWDlg+M/LquTUoi8HTEvm5PtY/dws7whAP1iu3vbrigdTVE/iUvMeKILBDg==","_resolved":"/tmp/8de1471f8a25e4ca07ad516b92adf46b/obug-0.1.1.tgz","_from":"file:obug-0.1.1.tgz","_nodeVersion":"24.11.0","_npmVersion":"11.6.1","dist":{"shasum":"65f896f5325554baabfbd4d22c8ce27b16b5898a","size":8015,"noattachment":false,"key":"/obug/-/obug-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/obug/download/obug-0.1.1.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:280df2e7-b41f-43bd-b495-a0b67a441b9c"}},"directories":{},"maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/obug_0.1.1_1762902684624_0.6587820297476628"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-11T23:11:24.860Z","publish_time":1762902684860,"_source_registry_name":"default","_cnpm_publish_time":1762902684860},"0.1.0":{"name":"obug","version":"0.1.0","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","type":"module","license":"MIT","homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"repository":{"type":"git","url":"git+https://github.com/sxzz/obug.git"},"author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"types":"./dist/browser.d.ts","exports":{".":{"node":"./dist/node.js","default":"./dist/browser.js"},"./package.json":"./package.json"},"unpkg":"./dist/browser.min.js","jsdelivr":"./dist/browser.min.js","publishConfig":{"access":"public"},"peerDependencies":{"ms":"^2.0.0"},"peerDependenciesMeta":{"ms":{"optional":true}},"devDependencies":{"@sxzz/eslint-config":"^7.2.10","@sxzz/prettier-config":"^2.2.4","@types/debug":"^4.1.12","@types/node":"^24.10.0","@vitest/browser-playwright":"^4.0.8","@vitest/coverage-v8":"^4.0.8","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","playwright":"^1.56.1","prettier":"^3.6.2","tsdown":"^0.16.2","typescript":"^5.9.3","vite":"^7.2.2","vitest":"^4.0.8"},"prettier":"@sxzz/prettier-config","scripts":{"lint":"eslint --cache .","lint:fix":"pnpm run lint --fix","build":"tsdown","dev":"tsdown --watch","test":"vitest","test:coverage":"vitest --project node --coverage","play":"vite playground","typecheck":"tsc --noEmit","format":"prettier --cache --write .","release":"bumpp"},"_id":"obug@0.1.0","_integrity":"sha512-eURg3jgVBWoCZcgHxXBpjs/dhae1ploCXX4oIzmwMU9yt8hSn1Lzt0bxppLd/qonAQ8LAPsWp60YLdQHgtOVXw==","_resolved":"/tmp/ffc2ace04de78d85892ae3548445efa3/obug-0.1.0.tgz","_from":"file:obug-0.1.0.tgz","_nodeVersion":"24.11.0","_npmVersion":"11.6.1","dist":{"shasum":"9ea5254f0df36e49669f0e5f0dbbbcf35891768e","size":7979,"noattachment":false,"key":"/obug/-/obug-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/obug/download/obug-0.1.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:280df2e7-b41f-43bd-b495-a0b67a441b9c"}},"directories":{},"maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/obug_0.1.0_1762900276083_0.39792323366057447"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-11T22:31:16.348Z","publish_time":1762900276348,"_source_registry_name":"default","_cnpm_publish_time":1762900276348},"0.0.1":{"name":"obug","version":"0.0.1","description":"A tiny JavaScript debugging utility forked from debug, with TypeScript and ESM support.","type":"module","license":"MIT","homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"repository":{"type":"git","url":"git+https://github.com/sxzz/obug.git"},"author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"types":"./dist/browser.d.ts","exports":{".":{"node":"./dist/node.js","default":"./dist/browser.js"},"./package.json":"./package.json"},"publishConfig":{"access":"public"},"peerDependenciesMeta":{"supports-color":{"optional":true}},"devDependencies":{"@sxzz/eslint-config":"^7.2.10","@sxzz/prettier-config":"^2.2.4","@types/debug":"^4.1.12","@types/node":"^24.10.0","@vitest/browser-playwright":"^4.0.8","@vitest/coverage-v8":"^4.0.8","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","playwright":"^1.56.1","prettier":"^3.6.2","tsdown":"^0.16.2","typescript":"^5.9.3","vite":"^7.2.2","vitest":"^4.0.8"},"prettier":"@sxzz/prettier-config","scripts":{"lint":"eslint --cache .","lint:fix":"pnpm run lint --fix","build":"tsdown","dev":"tsdown --watch","test":"vitest","play":"vite playground","typecheck":"tsc --noEmit","format":"prettier --cache --write .","release":"bumpp && pnpm publish"},"_id":"obug@0.0.1","_integrity":"sha512-R63N58gE35ShkZCLugZmYXS26KwMw+UmFKfKle7l8YR0v09uSDWTgS0hVovGiknER0dScbz5QRTA0ASucIRSQA==","_resolved":"/private/var/folders/d9/9drlr87n4j904th57x6955l40000gn/T/8ea490cd10f20e1f0cec29a48746158c/obug-0.0.1.tgz","_from":"file:obug-0.0.1.tgz","_nodeVersion":"24.11.0","_npmVersion":"11.6.2","dist":{"shasum":"681005666dede25bba5e43697fd81b0831dca74a","size":6415,"noattachment":false,"key":"/obug/-/obug-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/obug/download/obug-0.0.1.tgz"},"_npmUser":{"name":"sxzz","email":"sxzz@sxzz.moe"},"directories":{},"maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/obug_0.0.1_1762896859913_0.9421551096070957"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-11T21:34:20.151Z","publish_time":1762896860151,"_source_registry_name":"default","_cnpm_publish_time":1762896860151},"0.0.0":{"name":"obug","version":"0.0.0","repository":{"type":"git","url":"git://github.com/debug-js/debug.git"},"description":"Lightweight debugging utility for Node.js and the browser","keywords":["debug","log","debugger"],"author":{"name":"Josh Junon","url":"https://github.com/qix-"},"contributors":[{"name":"TJ Holowaychuk","email":"tj@vision-media.ca"},{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io"},{"name":"Andrew Rhyne","email":"rhyneandrew@gmail.com"}],"license":"MIT","dependencies":{"ms":"^2.1.3"},"devDependencies":{"brfs":"^2.0.1","browserify":"^16.2.3","coveralls":"^3.0.2","karma":"^3.1.4","karma-browserify":"^6.0.0","karma-chrome-launcher":"^2.2.0","karma-mocha":"^1.3.0","mocha":"^5.2.0","mocha-lcov-reporter":"^1.2.0","sinon":"^14.0.0","xo":"^0.23.0"},"peerDependenciesMeta":{"supports-color":{"optional":true}},"main":"./src/index.js","browser":"./src/browser.js","engines":{"node":">=6.0"},"xo":{"rules":{"import/extensions":"off"}},"scripts":{"lint":"xo","test":"npm run test:node && npm run test:browser && npm run lint","test:node":"mocha test.js test.node.js","test:browser":"karma start --single-run","test:coverage":"cat ./coverage/lcov.info | coveralls"},"_id":"obug@0.0.0","bugs":{"url":"https://github.com/debug-js/debug/issues"},"homepage":"https://github.com/debug-js/debug#readme","_integrity":"sha512-yJoi0z8J4gXOih2J8M2dy1OL5nSiANBqxBla523hR5skerb4fzGPtIyG7WPhTZ4rmj/kryTC43RnTaJE3QdTDw==","_resolved":"/private/var/folders/d9/9drlr87n4j904th57x6955l40000gn/T/e419a96836be0dc19dedacf18e036679/obug-0.0.0.tgz","_from":"file:obug-0.0.0.tgz","_nodeVersion":"24.11.0","_npmVersion":"11.6.2","dist":{"shasum":"a11543f8a9e022a746e2453dfff40c3a5504353f","size":13486,"noattachment":false,"key":"/obug/-/obug-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/obug/download/obug-0.0.0.tgz"},"_npmUser":{"name":"sxzz","email":"sxzz@sxzz.moe"},"directories":{},"maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/obug_0.0.0_1762883485041_0.17957552387099862"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-11T17:51:25.247Z","publish_time":1762883485247,"_source_registry_name":"default","_cnpm_publish_time":1762883485247}},"readme":"# obug\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![Unit Test][unit-test-src]][unit-test-href]\n\nA lightweight JavaScript debugging utility, forked from [debug](https://www.npmjs.com/package/debug), featuring TypeScript and ESM support.\n\n> [!NOTE]\n> 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.\n>\n> obug v2 refactors some API imports and usage for better support of ESM and TypeScript, easier customization, and an even smaller package size.\n\n## Key Differences from `debug`\n\n- ✨ Minimal footprint\n  - 7.7 kB package size\n  - 1.4 KB minified + gzipped for browsers\n- ???? Zero dependencies\n- ???? Full TypeScript support\n- ???? Native ESM compatibility\n- ???? Optimized for modern runtimes\n  - ES2015+ browsers\n  - Modern Node.js versions\n- ???? Customizable formatting\n\n## Installation\n\n```bash\nnpm install obug\n```\n\n## Usage\n\n```ts\nimport { createDebug, disable, enable, enabled, namespaces } from 'obug'\n\n// Get the currently enabled namespaces\nconsole.log(namespaces())\n\nconst debug = createDebug('my-namespace', {\n  // All options are optional\n\n  useColors: true, // false, true, undefined for auto-detect\n  color: 2, // custom color\n  // custom formatArgs\n  formatArgs(args) {},\n  formatters: {},\n  // Node.js only\n  inspectOpts: {},\n\n  // custom log\n  log: console.log,\n})\n\ndebug('This is a debug message')\nconsole.log(\n  debug.namespace, // 'my-namespace'\n  debug.enabled, // Check if enabled\n  debug.useColors, // true\n  debug.color, // 2\n  debug.formatArgs, // custom formatArgs\n  debug.formatters, // {}\n  debug.inspectOpts, // {}\n  debug.log, // implemented log function\n)\n\n// Create a sub-namespace, and it will inherit options from the parent debugger\nconst sub = debug.extend('sub-namespace')\nsub('This is a sub-namespace debug message')\nconsole.log(sub.namespace) // 'my-namespace:sub-namespace'\n```\n\n## Original Authors\n\nAs obug is a fork of debug with significant modifications, we would like to acknowledge the original authors:\n\n- TJ Holowaychuk\n- Nathan Rajlich\n- Andrew Rhyne\n- Josh Junon\n\n## Sponsors\n\n<p align=\"center\">\n  <a href=\"https://cdn.jsdelivr.net/gh/sxzz/sponsors/sponsors.svg\">\n    <img src='https://cdn.jsdelivr.net/gh/sxzz/sponsors/sponsors.svg'/>\n  </a>\n</p>\n\n## License\n\n[MIT](./LICENSE) License © 2025-PRESENT [Kevin Deng](https://github.com/sxzz)\n\n[The MIT License](./LICENSE) Copyright (c) 2014-2017 TJ Holowaychuk &lt;tj@vision-media.ca&gt;\n\n[The MIT License](./LICENSE) Copyright (c) 2018-2021 Josh Junon\n\n<!-- Badges -->\n\n[npm-version-src]: https://img.shields.io/npm/v/obug.svg\n[npm-version-href]: https://npmjs.com/package/obug\n[npm-downloads-src]: https://img.shields.io/npm/dm/obug\n[npm-downloads-href]: https://www.npmcharts.com/compare/obug?interval=30\n[unit-test-src]: https://github.com/sxzz/obug/actions/workflows/unit-test.yml/badge.svg\n[unit-test-href]: https://github.com/sxzz/obug/actions/workflows/unit-test.yml\n","_attachments":{},"homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"license":"MIT"}