{"_id":"obug","_rev":"29-6321f936dad3919adf38160a7f0bb4b2","name":"obug","dist-tags":{"latest-v1":"1.0.2","latest":"3.0.0"},"versions":{"0.0.0":{"name":"obug","version":"0.0.0","keywords":["debug","log","debugger"],"author":{"url":"https://github.com/qix-","name":"Josh Junon"},"license":"MIT","_id":"obug@0.0.0","maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"contributors":[{"name":"TJ Holowaychuk","email":"tj@vision-media.ca"},{"url":"http://n8.io","name":"Nathan Rajlich","email":"nathan@tootallnate.net"},{"name":"Andrew Rhyne","email":"rhyneandrew@gmail.com"}],"homepage":"https://github.com/debug-js/debug#readme","bugs":{"url":"https://github.com/debug-js/debug/issues"},"xo":{"rules":{"import/extensions":"off"}},"dist":{"shasum":"a11543f8a9e022a746e2453dfff40c3a5504353f","tarball":"https://registry.npmjs.org/obug/-/obug-0.0.0.tgz","fileCount":7,"integrity":"sha512-yJoi0z8J4gXOih2J8M2dy1OL5nSiANBqxBla523hR5skerb4fzGPtIyG7WPhTZ4rmj/kryTC43RnTaJE3QdTDw==","signatures":[{"sig":"MEYCIQCQrSwG0KxV16+Mh8ZmFqKYWpcPLiCVRRTEGQdrMIqTnAIhAMUvcwh917m4QomnYMWX0/81HEmYxa0IPDgisXcJDwB4","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42791},"main":"./src/index.js","_from":"file:obug-0.0.0.tgz","browser":"./src/browser.js","engines":{"node":">=6.0"},"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"},"_npmUser":{"name":"sxzz","email":"sxzz@sxzz.moe"},"_resolved":"/private/var/folders/d9/9drlr87n4j904th57x6955l40000gn/T/e419a96836be0dc19dedacf18e036679/obug-0.0.0.tgz","_integrity":"sha512-yJoi0z8J4gXOih2J8M2dy1OL5nSiANBqxBla523hR5skerb4fzGPtIyG7WPhTZ4rmj/kryTC43RnTaJE3QdTDw==","repository":{"url":"git://github.com/debug-js/debug.git","type":"git"},"_npmVersion":"11.6.2","description":"Lightweight debugging utility for Node.js and the browser","directories":{},"_nodeVersion":"24.11.0","dependencies":{"ms":"^2.1.3"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.23.0","brfs":"^2.0.1","karma":"^3.1.4","mocha":"^5.2.0","sinon":"^14.0.0","coveralls":"^3.0.2","browserify":"^16.2.3","karma-mocha":"^1.3.0","karma-browserify":"^6.0.0","mocha-lcov-reporter":"^1.2.0","karma-chrome-launcher":"^2.2.0"},"peerDependenciesMeta":{"supports-color":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/obug_0.0.0_1762883485041_0.17957552387099862","host":"s3://npm-registry-packages-npm-production"}},"0.0.1":{"name":"obug","version":"0.0.1","author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"license":"MIT","_id":"obug@0.0.1","maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"dist":{"shasum":"681005666dede25bba5e43697fd81b0831dca74a","tarball":"https://registry.npmjs.org/obug/-/obug-0.0.1.tgz","fileCount":9,"integrity":"sha512-R63N58gE35ShkZCLugZmYXS26KwMw+UmFKfKle7l8YR0v09uSDWTgS0hVovGiknER0dScbz5QRTA0ASucIRSQA==","signatures":[{"sig":"MEUCIF3Fv73pSZwWDlOXEI9iZ1pSZfAaIkGCuN9+oWW8B+bQAiEAxMCt4ywjI8E3+hRBVpSGz71CcDscKdOmkVf16j/JQCI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17670},"type":"module","_from":"file:obug-0.0.1.tgz","types":"./dist/browser.d.ts","exports":{".":{"node":"./dist/node.js","default":"./dist/browser.js"},"./package.json":"./package.json"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","play":"vite playground","test":"vitest","build":"tsdown","format":"prettier --cache --write .","release":"bumpp && pnpm publish","lint:fix":"pnpm run lint --fix","typecheck":"tsc --noEmit"},"_npmUser":{"name":"sxzz","email":"sxzz@sxzz.moe"},"prettier":"@sxzz/prettier-config","_resolved":"/private/var/folders/d9/9drlr87n4j904th57x6955l40000gn/T/8ea490cd10f20e1f0cec29a48746158c/obug-0.0.1.tgz","_integrity":"sha512-R63N58gE35ShkZCLugZmYXS26KwMw+UmFKfKle7l8YR0v09uSDWTgS0hVovGiknER0dScbz5QRTA0ASucIRSQA==","repository":{"url":"git+https://github.com/sxzz/obug.git","type":"git"},"_npmVersion":"11.6.2","description":"A tiny JavaScript debugging utility forked from debug, with TypeScript and ESM support.","directories":{},"_nodeVersion":"24.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.2","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","tsdown":"^0.16.2","vitest":"^4.0.8","prettier":"^3.6.2","playwright":"^1.56.1","typescript":"^5.9.3","@types/node":"^24.10.0","@types/debug":"^4.1.12","@sxzz/eslint-config":"^7.2.10","@vitest/coverage-v8":"^4.0.8","@sxzz/prettier-config":"^2.2.4","@vitest/browser-playwright":"^4.0.8"},"peerDependenciesMeta":{"supports-color":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/obug_0.0.1_1762896859913_0.9421551096070957","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"obug","version":"0.1.0","author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"license":"MIT","_id":"obug@0.1.0","maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"dist":{"shasum":"9ea5254f0df36e49669f0e5f0dbbbcf35891768e","tarball":"https://registry.npmjs.org/obug/-/obug-0.1.0.tgz","fileCount":10,"integrity":"sha512-eURg3jgVBWoCZcgHxXBpjs/dhae1ploCXX4oIzmwMU9yt8hSn1Lzt0bxppLd/qonAQ8LAPsWp60YLdQHgtOVXw==","signatures":[{"sig":"MEQCIEnGEq9XjoaoJwSBCTNRzQ25Sbn2OfZhATn+EmhfWQmXAiAa+f7pTOXI0S2BwVikFiCWeoVxW/CSNGVMMNecnRoFjA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/obug@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21100},"type":"module","_from":"file:obug-0.1.0.tgz","types":"./dist/browser.d.ts","unpkg":"./dist/browser.min.js","exports":{".":{"node":"./dist/node.js","default":"./dist/browser.js"},"./package.json":"./package.json"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","play":"vite playground","test":"vitest","build":"tsdown","format":"prettier --cache --write .","release":"bumpp","lint:fix":"pnpm run lint --fix","typecheck":"tsc --noEmit","test:coverage":"vitest --project node --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:280df2e7-b41f-43bd-b495-a0b67a441b9c"}},"jsdelivr":"./dist/browser.min.js","prettier":"@sxzz/prettier-config","_resolved":"/tmp/ffc2ace04de78d85892ae3548445efa3/obug-0.1.0.tgz","_integrity":"sha512-eURg3jgVBWoCZcgHxXBpjs/dhae1ploCXX4oIzmwMU9yt8hSn1Lzt0bxppLd/qonAQ8LAPsWp60YLdQHgtOVXw==","repository":{"url":"git+https://github.com/sxzz/obug.git","type":"git"},"_npmVersion":"11.6.1","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","directories":{},"_nodeVersion":"24.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.2","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","tsdown":"^0.16.2","vitest":"^4.0.8","prettier":"^3.6.2","playwright":"^1.56.1","typescript":"^5.9.3","@types/node":"^24.10.0","@types/debug":"^4.1.12","@sxzz/eslint-config":"^7.2.10","@vitest/coverage-v8":"^4.0.8","@sxzz/prettier-config":"^2.2.4","@vitest/browser-playwright":"^4.0.8"},"peerDependencies":{"ms":"^2.0.0"},"peerDependenciesMeta":{"ms":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/obug_0.1.0_1762900276083_0.39792323366057447","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"obug","version":"0.1.1","author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"license":"MIT","_id":"obug@0.1.1","maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"dist":{"shasum":"65f896f5325554baabfbd4d22c8ce27b16b5898a","tarball":"https://registry.npmjs.org/obug/-/obug-0.1.1.tgz","fileCount":10,"integrity":"sha512-idmtuvNcQDncavr1pJDd9oCsU+2HWDlg+M/LquTUoi8HTEvm5PtY/dws7whAP1iu3vbrigdTVE/iUvMeKILBDg==","signatures":[{"sig":"MEYCIQC0ewxuU2NeBnDbZ9YoydAz1rDw+w/lmY8kcjsQe0OkIAIhAMgNsOhm4C3AJ2cf/MeC77GrnhRxKbRSzr7yCzGc2pfH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/obug@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21306},"type":"module","_from":"file:obug-0.1.1.tgz","types":"./dist/browser.d.ts","unpkg":"./dist/browser.min.js","exports":{".":{"node":"./dist/node.js","default":"./dist/browser.js"},"./package.json":"./package.json"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","play":"vite playground","test":"vitest","build":"tsdown","format":"prettier --cache --write .","release":"bumpp","lint:fix":"pnpm run lint --fix","typecheck":"tsc --noEmit","test:coverage":"vitest --project node --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:280df2e7-b41f-43bd-b495-a0b67a441b9c"}},"jsdelivr":"./dist/browser.min.js","prettier":"@sxzz/prettier-config","_resolved":"/tmp/8de1471f8a25e4ca07ad516b92adf46b/obug-0.1.1.tgz","_integrity":"sha512-idmtuvNcQDncavr1pJDd9oCsU+2HWDlg+M/LquTUoi8HTEvm5PtY/dws7whAP1iu3vbrigdTVE/iUvMeKILBDg==","repository":{"url":"git+https://github.com/sxzz/obug.git","type":"git"},"_npmVersion":"11.6.1","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","directories":{},"_nodeVersion":"24.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.2","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","tsdown":"^0.16.2","vitest":"^4.0.8","prettier":"^3.6.2","playwright":"^1.56.1","typescript":"^5.9.3","@types/node":"^24.10.0","@types/debug":"^4.1.12","@sxzz/eslint-config":"^7.2.10","@vitest/coverage-v8":"^4.0.8","@sxzz/prettier-config":"^2.2.4","@vitest/browser-playwright":"^4.0.8"},"peerDependencies":{"ms":"^2.0.0"},"peerDependenciesMeta":{"ms":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/obug_0.1.1_1762902684624_0.6587820297476628","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"obug","version":"0.1.2","author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"license":"MIT","_id":"obug@0.1.2","maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"dist":{"shasum":"6314662ae0d0edbd27c5191ee73b57166da52f77","tarball":"https://registry.npmjs.org/obug/-/obug-0.1.2.tgz","fileCount":10,"integrity":"sha512-C7iXUCdmOELRgNJBw2qKGnqQZOQTWVJKBuKYVPJyMUF76DTzleJY+RDNOEBFS4FD6ETwEK+gZ2rIC54+DNPwxA==","signatures":[{"sig":"MEUCIBt6mGX1ulklGCWwfoT3yeh8BYY5p8JRfZZn9HtolkShAiEAtN6sS41Ev8caJGDyxHjYo2qIN2HH48E87siaEc4FfKE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/obug@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":20166},"main":"./dist/node.js","type":"module","_from":"file:obug-0.1.2.tgz","types":"./dist/browser.d.ts","unpkg":"./dist/browser.min.js","module":"./dist/node.js","exports":{".":{"browser":"./dist/browser.js","default":"./dist/node.js"},"./package.json":"./package.json"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","play":"vite playground","test":"vitest","build":"tsdown","format":"prettier --cache --write .","release":"bumpp","lint:fix":"pnpm run lint --fix","typecheck":"tsc --noEmit","test:coverage":"vitest --project node --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:280df2e7-b41f-43bd-b495-a0b67a441b9c"}},"jsdelivr":"./dist/browser.min.js","prettier":"@sxzz/prettier-config","_resolved":"/tmp/0288348ac09f9d1bfc6be29f8e81ed46/obug-0.1.2.tgz","_integrity":"sha512-C7iXUCdmOELRgNJBw2qKGnqQZOQTWVJKBuKYVPJyMUF76DTzleJY+RDNOEBFS4FD6ETwEK+gZ2rIC54+DNPwxA==","repository":{"url":"git+https://github.com/sxzz/obug.git","type":"git"},"_npmVersion":"11.6.1","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","directories":{},"_nodeVersion":"24.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.2","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","tsdown":"^0.16.2","vitest":"^4.0.8","prettier":"^3.6.2","playwright":"^1.56.1","typescript":"^5.9.3","@types/node":"^24.10.0","@types/debug":"^4.1.12","@sxzz/eslint-config":"^7.2.10","@vitest/coverage-v8":"^4.0.8","@sxzz/prettier-config":"^2.2.4","@vitest/browser-playwright":"^4.0.8"},"peerDependencies":{"ms":"^2.0.0"},"peerDependenciesMeta":{"ms":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/obug_0.1.2_1762946470666_0.9539950379796669","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"obug","version":"0.1.3","author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"license":"MIT","_id":"obug@0.1.3","maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"dist":{"shasum":"4cfb716f7aaca542ba311efbf9b51017ba8bf4bf","tarball":"https://registry.npmjs.org/obug/-/obug-0.1.3.tgz","fileCount":10,"integrity":"sha512-9fwkQ1jsVEqi3I3so5QA4yLPW2QVtekrIpiVUWyw8c/BApPHYj0gohWby3qzK30X58lyksSqcbfvO0vOwKFWqQ==","signatures":[{"sig":"MEUCIQDiG9lh+aIoxhMgHid+CCsk9bXFQao7qiMOXxjn2na22AIgQqnK2yoc4QqCAImS1V9iiiNVILh2vDH7F2xT818OpME=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/obug@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":20169},"main":"./dist/node.js","type":"module","_from":"file:obug-0.1.3.tgz","types":"./dist/browser.d.ts","unpkg":"./dist/browser.min.js","module":"./dist/node.js","exports":{".":{"browser":"./dist/browser.js","default":"./dist/node.js"},"./package.json":"./package.json"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","play":"vite playground","test":"vitest","build":"tsdown","format":"prettier --cache --write .","release":"bumpp","lint:fix":"pnpm run lint --fix","typecheck":"tsc --noEmit","test:coverage":"vitest --project node --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:280df2e7-b41f-43bd-b495-a0b67a441b9c"}},"jsdelivr":"./dist/browser.min.js","prettier":"@sxzz/prettier-config","_resolved":"/tmp/4d38f7eae3d083077395634606227232/obug-0.1.3.tgz","_integrity":"sha512-9fwkQ1jsVEqi3I3so5QA4yLPW2QVtekrIpiVUWyw8c/BApPHYj0gohWby3qzK30X58lyksSqcbfvO0vOwKFWqQ==","repository":{"url":"git+https://github.com/sxzz/obug.git","type":"git"},"_npmVersion":"11.6.1","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","directories":{},"_nodeVersion":"24.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.2","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","tsdown":"^0.16.2","vitest":"^4.0.8","prettier":"^3.6.2","playwright":"^1.56.1","typescript":"^5.9.3","@types/node":"^24.10.0","@types/debug":"^4.1.12","@sxzz/eslint-config":"^7.2.10","@vitest/coverage-v8":"^4.0.8","@sxzz/prettier-config":"^2.2.4","@vitest/browser-playwright":"^4.0.8"},"peerDependencies":{"ms":"^2.0.0"},"peerDependenciesMeta":{"ms":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/obug_0.1.3_1762949919196_0.43173280545645465","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"obug","version":"1.0.0","author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"license":"MIT","_id":"obug@1.0.0","maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"dist":{"shasum":"cbfafcfd7fb3549cfc6399d476f91a8abf70844b","tarball":"https://registry.npmjs.org/obug/-/obug-1.0.0.tgz","fileCount":10,"integrity":"sha512-WKcS43Yl6YPJekid7KiRdT6CHMSmYWVfJiSFbTaGxWQlC+cEBPxHa9jR1uS2cMiQmXd8Hsa2ipAKErQ/GLhSpg==","signatures":[{"sig":"MEUCIE25MUd+zioHizVkdAvu0udw5BpT6hpOFPpbVBk7eNlRAiEAtFY8x5NZrbMOXb7odFp6Chxk6Cd4n5K7bZqY516dyxE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/obug@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22506},"main":"./dist/node.js","type":"module","_from":"file:obug-1.0.0.tgz","types":"./dist/browser.d.ts","unpkg":"./dist/browser.min.js","module":"./dist/node.js","exports":{".":{"browser":"./dist/browser.js","default":"./dist/node.js"},"./package.json":"./package.json"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","play":"vite playground","test":"vitest","build":"tsdown","format":"prettier --cache --write .","release":"bumpp","lint:fix":"pnpm run lint --fix","typecheck":"tsc --noEmit","test:coverage":"vitest --project node --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:280df2e7-b41f-43bd-b495-a0b67a441b9c"}},"jsdelivr":"./dist/browser.min.js","prettier":"@sxzz/prettier-config","_resolved":"/tmp/cb2598882ed5536c00c4ad10136f0d5c/obug-1.0.0.tgz","_integrity":"sha512-WKcS43Yl6YPJekid7KiRdT6CHMSmYWVfJiSFbTaGxWQlC+cEBPxHa9jR1uS2cMiQmXd8Hsa2ipAKErQ/GLhSpg==","repository":{"url":"git+https://github.com/sxzz/obug.git","type":"git"},"_npmVersion":"11.6.1","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","directories":{},"_nodeVersion":"24.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.2","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","tsdown":"^0.16.2","vitest":"^4.0.8","prettier":"^3.6.2","playwright":"^1.56.1","typescript":"^5.9.3","@types/node":"^24.10.0","@types/debug":"^4.1.12","@sxzz/eslint-config":"^7.2.10","@vitest/coverage-v8":"^4.0.8","@sxzz/prettier-config":"^2.2.4","@vitest/browser-playwright":"^4.0.8"},"peerDependencies":{"ms":"^2.0.0"},"peerDependenciesMeta":{"ms":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/obug_1.0.0_1762980969767_0.852119856339757","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-beta.1":{"name":"obug","version":"2.0.0-beta.1","author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"license":"MIT","_id":"obug@2.0.0-beta.1","maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"dist":{"shasum":"061d9982d453cf18beaac008dab0ebac1b10fa11","tarball":"https://registry.npmjs.org/obug/-/obug-2.0.0-beta.1.tgz","fileCount":10,"integrity":"sha512-ZLlTxsqypxnn4zUJYW3ia+ZnZVHi8TqStonni2HRj3eGqFVJ3O0Xf5MSDVq5XKHq+qtYF+paqipzhndN6yIqcg==","signatures":[{"sig":"MEUCIATIAXPNlb7QXDG8cf1XdxPzEat4z5KF6JF8UwNP6DYhAiEArogiH0FdO8RXcBtw0dqjGWvIvsCUYaIv+fHLrTRUUgw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/obug@2.0.0-beta.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":20749},"main":"./dist/node.js","type":"module","_from":"file:obug-2.0.0-beta.1.tgz","types":"./dist/browser.d.ts","unpkg":"./dist/browser.min.js","module":"./dist/node.js","exports":{".":{"browser":"./dist/browser.js","default":"./dist/node.js"},"./package.json":"./package.json"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","play":"vite playground","test":"vitest","build":"tsdown","format":"prettier --cache --write .","release":"bumpp","lint:fix":"pnpm run lint --fix","typecheck":"tsc --noEmit","test:coverage":"vitest --project node --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:280df2e7-b41f-43bd-b495-a0b67a441b9c"}},"jsdelivr":"./dist/browser.min.js","prettier":"@sxzz/prettier-config","_resolved":"/tmp/15670dbc66ef2019d8da5c48e1d9449e/obug-2.0.0-beta.1.tgz","_integrity":"sha512-ZLlTxsqypxnn4zUJYW3ia+ZnZVHi8TqStonni2HRj3eGqFVJ3O0Xf5MSDVq5XKHq+qtYF+paqipzhndN6yIqcg==","repository":{"url":"git+https://github.com/sxzz/obug.git","type":"git"},"_npmVersion":"11.6.1","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","directories":{},"_nodeVersion":"24.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.2","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","tsdown":"^0.16.2","vitest":"^4.0.8","prettier":"^3.6.2","playwright":"^1.56.1","typescript":"^5.9.3","@types/node":"^24.10.0","@types/debug":"^4.1.12","@sxzz/eslint-config":"^7.2.10","@vitest/coverage-v8":"^4.0.8","@sxzz/prettier-config":"^2.2.4","@vitest/browser-playwright":"^4.0.8"},"peerDependencies":{"ms":"^2.0.0"},"peerDependenciesMeta":{"ms":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/obug_2.0.0-beta.1_1762995064016_0.7142779566510493","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"obug","version":"2.0.0","author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"license":"MIT","_id":"obug@2.0.0","maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"dist":{"shasum":"30c1ebb521ea0af82c06339e1b7835b0ce8b54ac","tarball":"https://registry.npmjs.org/obug/-/obug-2.0.0.tgz","fileCount":10,"integrity":"sha512-dpSQuPXoKUjulinHmXjZV1YIRhOLEqBl1J6PYi9mRQR2dYcSK+OULRr+GuT1vufk2f40mtIOqmSL/aTikjmq5Q==","signatures":[{"sig":"MEQCIGjChMerGj2R2Kt11uQ2rZVX3R+asMmbSEkJOlNgRzBgAiBekBdRyeLX4iS95ll63RKwlGBPXl5GW/UudZpnNgSasA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/obug@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21201},"main":"./dist/node.js","type":"module","_from":"file:obug-2.0.0.tgz","types":"./dist/browser.d.ts","unpkg":"./dist/browser.min.js","module":"./dist/node.js","exports":{".":{"browser":"./dist/browser.js","default":"./dist/node.js"},"./package.json":"./package.json"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","play":"vite playground","test":"vitest","build":"tsdown","format":"prettier --cache --write .","release":"bumpp","lint:fix":"pnpm run lint --fix","typecheck":"tsc --noEmit","test:coverage":"vitest --project node --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:280df2e7-b41f-43bd-b495-a0b67a441b9c"}},"jsdelivr":"./dist/browser.min.js","prettier":"@sxzz/prettier-config","_resolved":"/tmp/a3c18881f2b5d4f60797301646c3d59e/obug-2.0.0.tgz","_integrity":"sha512-dpSQuPXoKUjulinHmXjZV1YIRhOLEqBl1J6PYi9mRQR2dYcSK+OULRr+GuT1vufk2f40mtIOqmSL/aTikjmq5Q==","repository":{"url":"git+https://github.com/sxzz/obug.git","type":"git"},"_npmVersion":"11.6.2","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","directories":{},"_nodeVersion":"24.11.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.2","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","tsdown":"^0.16.2","vitest":"^4.0.8","prettier":"^3.6.2","playwright":"^1.56.1","typescript":"^5.9.3","@types/node":"^24.10.0","@types/debug":"^4.1.12","@sxzz/eslint-config":"^7.2.10","@vitest/coverage-v8":"^4.0.8","@sxzz/prettier-config":"^2.2.4","@vitest/browser-playwright":"^4.0.8"},"peerDependencies":{"ms":"^2.0.0"},"peerDependenciesMeta":{"ms":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/obug_2.0.0_1763227485748_0.423882577186258","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"obug","version":"1.0.2","author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"license":"MIT","_id":"obug@1.0.2","maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"dist":{"shasum":"198dbd7f357bd7a83a34b56849e728c8fae02707","tarball":"https://registry.npmjs.org/obug/-/obug-1.0.2.tgz","fileCount":10,"integrity":"sha512-Q3KPMFHLmJ4KENpj3HNkzU7nngmrgXrr7h19DHx/8+hNAD2St6zzb8Mamfj3VzrVTbjnIyu94WwPBO5yAB+kCQ==","signatures":[{"sig":"MEQCIFlu325FJ1smvdnoR4li8YgxnfpWsItRT6Veqx+ewiXPAiAaRonMv481XkS43idLRzOTOWVRH+K6EDNojkkHYzrRVQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/obug@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21286},"main":"./dist/node.js","type":"module","_from":"file:obug-1.0.2.tgz","types":"./dist/browser.d.ts","unpkg":"./dist/browser.min.js","module":"./dist/node.js","exports":{".":{"browser":"./dist/browser.js","default":"./dist/node.js"},"./package.json":"./package.json"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","play":"vite playground","test":"vitest","build":"tsdown","format":"prettier --cache --write .","release":"bumpp","lint:fix":"pnpm run lint --fix","typecheck":"tsc --noEmit","test:coverage":"vitest --project node --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:280df2e7-b41f-43bd-b495-a0b67a441b9c"}},"jsdelivr":"./dist/browser.min.js","prettier":"@sxzz/prettier-config","_resolved":"/tmp/ef5bb933642b95ec93fff8e981f5ebd4/obug-1.0.2.tgz","_integrity":"sha512-Q3KPMFHLmJ4KENpj3HNkzU7nngmrgXrr7h19DHx/8+hNAD2St6zzb8Mamfj3VzrVTbjnIyu94WwPBO5yAB+kCQ==","repository":{"url":"git+https://github.com/sxzz/obug.git","type":"git"},"_npmVersion":"11.6.2","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","directories":{},"_nodeVersion":"24.11.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.2","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","tsdown":"^0.16.5","vitest":"^4.0.10","prettier":"^3.6.2","playwright":"^1.56.1","typescript":"^5.9.3","@types/node":"^24.10.1","@types/debug":"^4.1.12","@sxzz/eslint-config":"^7.3.0","@vitest/coverage-v8":"^4.0.10","@sxzz/prettier-config":"^2.2.5","@vitest/browser-playwright":"^4.0.10"},"peerDependencies":{"ms":"^2.0.0"},"peerDependenciesMeta":{"ms":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/obug_1.0.2_1763538159221_0.9843818616676991","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"obug","version":"2.1.0","author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"license":"MIT","_id":"obug@2.1.0","maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"dist":{"shasum":"c5669094b3c8ae21a6097871c32cc908cac06cf9","tarball":"https://registry.npmjs.org/obug/-/obug-2.1.0.tgz","fileCount":10,"integrity":"sha512-uu/tgLPoa75CFA7UDkmqspKbefvZh1WMPwkU3bNr0PY746a/+xwXVgbw5co5C3GvJj3h5u8g/pbxXzI0gd1QFg==","signatures":[{"sig":"MEUCIACwBbXrvX4f+Ef7zkZdhIdWSarVyT/n0DS/2TY7KMpDAiEAswZj4KsrPyfsj4DaJD+NEW3RQm2HidtAP2833K1/6EU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/obug@2.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21111},"main":"./dist/node.js","type":"module","_from":"file:obug-2.1.0.tgz","types":"./dist/browser.d.ts","unpkg":"./dist/browser.min.js","module":"./dist/node.js","exports":{".":{"browser":"./dist/browser.js","default":"./dist/node.js"},"./package.json":"./package.json"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","play":"vite playground","test":"vitest","build":"tsdown","format":"prettier --cache --write .","release":"bumpp","lint:fix":"pnpm run lint --fix","typecheck":"tsc --noEmit","test:coverage":"vitest --project node --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:280df2e7-b41f-43bd-b495-a0b67a441b9c"}},"jsdelivr":"./dist/browser.min.js","prettier":"@sxzz/prettier-config","_resolved":"/tmp/53f39a545248c287cd5f735a4afef286/obug-2.1.0.tgz","_integrity":"sha512-uu/tgLPoa75CFA7UDkmqspKbefvZh1WMPwkU3bNr0PY746a/+xwXVgbw5co5C3GvJj3h5u8g/pbxXzI0gd1QFg==","repository":{"url":"git+https://github.com/sxzz/obug.git","type":"git"},"_npmVersion":"11.6.2","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","directories":{},"_nodeVersion":"24.11.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.2","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","tsdown":"^0.16.5","vitest":"^4.0.10","prettier":"^3.6.2","playwright":"^1.56.1","typescript":"^5.9.3","@types/node":"^24.10.1","@types/debug":"^4.1.12","@sxzz/eslint-config":"^7.3.0","@vitest/coverage-v8":"^4.0.10","@sxzz/prettier-config":"^2.2.5","@vitest/browser-playwright":"^4.0.10"},"_npmOperationalInternal":{"tmp":"tmp/obug_2.1.0_1763593347288_0.1392332977704649","host":"s3://npm-registry-packages-npm-production"}},"2.1.1":{"name":"obug","version":"2.1.1","author":{"name":"Kevin Deng","email":"sxzz@sxzz.moe"},"license":"MIT","_id":"obug@2.1.1","maintainers":[{"name":"sxzz","email":"sxzz@sxzz.moe"}],"homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"dist":{"shasum":"2cba74ff241beb77d63055ddf4cd1e9f90b538be","tarball":"https://registry.npmjs.org/obug/-/obug-2.1.1.tgz","fileCount":10,"integrity":"sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ==","signatures":[{"sig":"MEYCIQC7veWbEvpMDRzp7q5uHqzwmipcwXxU11tiuuurtQsxuAIhAP1u1I9eKEHnJDO623xOH3ipKBOPh90M6M8vS1wZtlcI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/obug@2.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21215},"main":"./dist/node.js","type":"module","_from":"file:obug-2.1.1.tgz","types":"./dist/browser.d.ts","unpkg":"./dist/browser.min.js","module":"./dist/node.js","exports":{".":{"browser":"./dist/browser.js","default":"./dist/node.js"},"./package.json":"./package.json"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","play":"vite playground","test":"vitest","build":"tsdown","format":"prettier --cache --write .","release":"bumpp","lint:fix":"pnpm run lint --fix","typecheck":"tsc --noEmit","test:coverage":"vitest --project node --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:280df2e7-b41f-43bd-b495-a0b67a441b9c"}},"jsdelivr":"./dist/browser.min.js","prettier":"@sxzz/prettier-config","_resolved":"/tmp/c65d75f8924fca4eeba0600b643d3c45/obug-2.1.1.tgz","_integrity":"sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ==","repository":{"url":"git+https://github.com/sxzz/obug.git","type":"git"},"_npmVersion":"11.6.2","description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","directories":{},"_nodeVersion":"24.11.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.2","bumpp":"^10.3.1","debug":"^4.4.3","eslint":"^9.39.1","tsdown":"^0.16.5","vitest":"^4.0.10","prettier":"^3.6.2","playwright":"^1.56.1","typescript":"^5.9.3","@types/node":"^24.10.1","@types/debug":"^4.1.12","@sxzz/eslint-config":"^7.3.0","@vitest/coverage-v8":"^4.0.10","@sxzz/prettier-config":"^2.2.5","@vitest/browser-playwright":"^4.0.10"},"_npmOperationalInternal":{"tmp":"tmp/obug_2.1.1_1763803914948_0.02957185272971019","host":"s3://npm-registry-packages-npm-production"}},"2.1.2":{"name":"obug","version":"2.1.2","author":"Kevin Deng <sxzz@sxzz.moe>","license":"MIT","_id":"obug@2.1.2","maintainers":[{"name":"sxzz","email":"npm@sxzz.moe"}],"homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"dist":{"shasum":"024d704dceae438ef875556ebf9e22e47fd951c2","tarball":"https://registry.npmjs.org/obug/-/obug-2.1.2.tgz","fileCount":10,"integrity":"sha512-AWGB9WFcRXOQs48Z/udjI5ZcZMHXwX8XPByNpOydgcGsDLIzjGizhoMWJyKAWze7AVW/2W1i+/gPX4YtKe5cyg==","signatures":[{"sig":"MEQCIHjpNbKM3vRRmwfsnL8XatWzE4YdwfN3D+mHwi6zr7PEAiA+1JgnR+7KiETBupiZWTCmOEVnSJCZrpBhY0rWhiS6HA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/obug@2.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27120},"main":"./dist/node.js","type":"module","types":"./dist/browser.d.ts","unpkg":"./dist/browser.min.js","module":"./dist/node.js","engines":{"node":">=12.20.0"},"exports":{".":{"browser":"./dist/browser.js","default":"./dist/node.js"},"./package.json":"./package.json"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","play":"vite playground","test":"vitest","build":"tsdown","format":"prettier --cache --write .","release":"bumpp","lint:fix":"pnpm run lint --fix","typecheck":"tsgo --noEmit","test:coverage":"vitest --project node --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","approver":{"name":"sxzz","email":"npm@sxzz.moe"},"trustedPublisher":{"id":"github","oidcConfigId":"oidc:5b5ac195-23c7-4d6a-830a-047e5f7266aa"}},"jsdelivr":"./dist/browser.min.js","prettier":"@sxzz/prettier-config","repository":{"url":"git+https://github.com/sxzz/obug.git","type":"git"},"description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","directories":{},"_nodeVersion":"24.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.16","bumpp":"^11.1.0","debug":"^4.4.3","eslint":"^10.4.1","tsdown":"^0.22.1","vitest":"^4.1.8","prettier":"^3.8.3","playwright":"^1.60.0","typescript":"^6.0.3","@types/node":"^25.9.1","@types/debug":"^4.1.13","@sxzz/eslint-config":"^8.1.0","@vitest/coverage-v8":"^4.1.8","@sxzz/prettier-config":"^2.3.1","@typescript/native-preview":"7.0.0-dev.20260603.1","@vitest/browser-playwright":"^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/obug_2.1.2_1780569501133_0.8488808235074528","host":"s3://npm-registry-packages-npm-production"}},"2.1.3":{"name":"obug","version":"2.1.3","author":"Kevin Deng <sxzz@sxzz.moe>","license":"MIT","_id":"obug@2.1.3","maintainers":[{"name":"sxzz","email":"npm@sxzz.moe"}],"homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"dist":{"shasum":"c02c60f95abd603409330e767db7f2823193331e","tarball":"https://registry.npmjs.org/obug/-/obug-2.1.3.tgz","fileCount":10,"integrity":"sha512-9miFgM2OFba7hB+pRgvtV84pYTBaoTHohvmIgiRt6dRIzbwEOIaNaP+dIlGs2fNFoB0SeISs0Jz5WFVRid6Xyg==","signatures":[{"sig":"MEUCIQCbpsR1GGc33Pobo35Dccm7lo0UrqFQMBqv41YF/zThqAIgc6c6hOVdPBGf+GqPL4jNzCb8qTbuUbKbVY7XGa1bmRg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/obug@2.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27144},"main":"./dist/node.js","type":"module","types":"./dist/browser.d.ts","unpkg":"./dist/browser.min.js","module":"./dist/node.js","engines":{"node":">=12.20.0"},"exports":{".":{"browser":"./dist/browser.js","default":"./dist/node.js"},"./package.json":"./package.json"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","play":"vite playground","test":"vitest","build":"tsdown","format":"prettier --cache --write .","release":"bumpp","lint:fix":"pnpm run lint --fix","typecheck":"tsgo --noEmit","test:coverage":"vitest --project node --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","approver":{"name":"sxzz","email":"npm@sxzz.moe"},"trustedPublisher":{"id":"github","oidcConfigId":"oidc:5b5ac195-23c7-4d6a-830a-047e5f7266aa"}},"jsdelivr":"./dist/browser.min.js","prettier":"@sxzz/prettier-config","repository":{"url":"git+https://github.com/sxzz/obug.git","type":"git"},"description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","directories":{},"sideEffects":false,"_nodeVersion":"24.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.16","bumpp":"^11.1.0","debug":"^4.4.3","eslint":"^10.4.1","tsdown":"^0.22.2","vitest":"^4.1.8","prettier":"^3.8.4","playwright":"^1.60.0","typescript":"^6.0.3","@types/node":"^25.9.2","@types/debug":"^4.1.13","@sxzz/eslint-config":"^8.1.0","@vitest/coverage-v8":"^4.1.8","@sxzz/prettier-config":"^2.3.1","@typescript/native-preview":"7.0.0-dev.20260609.1","@vitest/browser-playwright":"^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/obug_2.1.3_1781271924552_0.4990880200603591","host":"s3://npm-registry-packages-npm-production"}},"2.1.4":{"name":"obug","version":"2.1.4","author":"Kevin Deng <sxzz@sxzz.moe>","license":"MIT","_id":"obug@2.1.4","maintainers":[{"name":"sxzz","email":"npm@sxzz.moe"}],"homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"dist":{"shasum":"9090d8a548a522517915d2aa6aae907197ac6cf8","tarball":"https://registry.npmjs.org/obug/-/obug-2.1.4.tgz","fileCount":10,"integrity":"sha512-4a+OsYv9UktOJKE+l1A4OufDgdRF9PifWj+tJnHURo/P+WOxpG4GzUFL9qCalmWauao6ogiG+QvnCovwPoyAWA==","signatures":[{"sig":"MEUCIQCZQRu4T4Lv27kJXpvWu1raElULPHLLl5Uzwx4lUPBqjQIgWDGgnQk56Ftx2chAWo9I60bxVLoEd+eqKEpytdHxc20=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/obug@2.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27203},"main":"./dist/node.js","type":"module","types":"./dist/browser.d.ts","unpkg":"./dist/browser.min.js","module":"./dist/node.js","engines":{"node":">=12.20.0"},"exports":{".":{"browser":"./dist/browser.js","default":"./dist/node.js"},"./package.json":"./package.json"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","play":"vite playground","test":"vitest","build":"tsdown","format":"prettier --cache --write .","release":"bumpp","lint:fix":"pnpm run lint --fix","typecheck":"tsgo --noEmit","test:coverage":"vitest --project node --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","approver":{"name":"sxzz","email":"npm@sxzz.moe"},"trustedPublisher":{"id":"github","oidcConfigId":"oidc:5b5ac195-23c7-4d6a-830a-047e5f7266aa"}},"jsdelivr":"./dist/browser.min.js","prettier":"@sxzz/prettier-config","repository":{"url":"git+https://github.com/sxzz/obug.git","type":"git"},"description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.1.5","bumpp":"^11.1.0","debug":"^4.4.3","eslint":"^10.7.0","tsdown":"^0.22.9","vitest":"^4.1.10","prettier":"^3.9.5","playwright":"^1.61.1","typescript":"^6.0.3","@types/node":"^26.1.1","@types/debug":"^4.1.13","@sxzz/eslint-config":"^8.2.1","@vitest/coverage-v8":"^4.1.10","@sxzz/prettier-config":"^2.3.1","@typescript/native-preview":"7.0.0-dev.20260707.2","@vitest/browser-playwright":"^4.1.10"},"_npmOperationalInternal":{"tmp":"tmp/obug_2.1.4_1784219290832_0.07055054218189194","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"obug","version":"2.2.0","author":"Kevin Deng <sxzz@sxzz.moe>","license":"MIT","_id":"obug@2.2.0","maintainers":[{"name":"sxzz","email":"npm@sxzz.moe"}],"homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"dist":{"shasum":"ec74e1b233a5a34fcb4395bcc383e8f718485249","tarball":"https://registry.npmjs.org/obug/-/obug-2.2.0.tgz","fileCount":12,"integrity":"sha512-DTPFAXAAdIRLFcFfIszRGvMSOvCK1Ghp7AnQfeVK8jc+olCr7Bk1SjHgRmMDeWNFE0rdo3rmx+I0RSjhPUDSWQ==","signatures":[{"sig":"MEUCIEJ0esKsceoDkTVw0+bYAfGBjX0XwGa45/5Otx3nWTS4AiEA978x/JDSPSX3kk/3c9Ltn8zPcU9rUGsRytQ8PtQgvj0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/obug@2.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":31546},"main":"./dist/ansi.js","type":"module","types":"./dist/browser.d.ts","unpkg":"./dist/browser.min.js","module":"./dist/ansi.js","engines":{"node":">=12.20.0"},"exports":{".":{"node":"./dist/ansi.js","fastly":"./dist/plain.js","browser":"./dist/browser.js","default":"./dist/browser.js","workerd":"./dist/plain.js","edge-light":"./dist/plain.js","react-native":"./dist/plain.js"},"./ansi":"./dist/ansi.js","./plain":"./dist/plain.js","./browser":"./dist/browser.js","./package.json":"./package.json"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","play":"vite playground","test":"vitest","build":"tsdown","format":"prettier --cache --write .","release":"bumpp","lint:fix":"pnpm run lint --fix","typecheck":"tsgo --noEmit","test:coverage":"vitest --project node --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","approver":{"name":"sxzz","email":"npm@sxzz.moe"},"trustedPublisher":{"id":"github","oidcConfigId":"oidc:5b5ac195-23c7-4d6a-830a-047e5f7266aa"}},"jsdelivr":"./dist/browser.min.js","prettier":"@sxzz/prettier-config","devEngines":{"packageManager":{"name":"pnpm","onFail":"download","version":"12.3.4"}},"repository":{"url":"git+https://github.com/sxzz/obug.git","type":"git"},"description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","directories":{},"sideEffects":false,"react-native":"./dist/plain.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.2.2","bumpp":"^12.3.0","debug":"^4.4.3","eslint":"^10.10.0","tsdown":"^0.23.0","vitest":"^5.0.0","prettier":"^3.9.6","playwright":"^1.63.0","typescript":"^6.0.3","@types/node":"^26.5.0","@types/debug":"^4.1.13","@sxzz/eslint-config":"^8.6.0","@vitest/coverage-v8":"^5.0.0","@sxzz/prettier-config":"^2.3.2","@typescript/native-preview":"7.0.0-dev.20260707.2","@vitest/browser-playwright":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/obug_2.2.0_1788931807442_0.14619385687056963","host":"s3://npm-registry-packages-npm-production"}},"2.2.1":{"name":"obug","version":"2.2.1","author":"Kevin Deng <sxzz@sxzz.moe>","license":"MIT","_id":"obug@2.2.1","maintainers":[{"name":"sxzz","email":"npm@sxzz.moe"}],"homepage":"https://github.com/sxzz/obug#readme","bugs":{"url":"https://github.com/sxzz/obug/issues"},"dist":{"shasum":"9c453efeeda822050eb9774242e969c784d64d78","tarball":"https://registry.npmjs.org/obug/-/obug-2.2.1.tgz","fileCount":12,"integrity":"sha512-XrsrhT5sybtKI6wakr2SPOlGZWWYbUXZ7a0jT8/QOeAPau+1X/bSegNe5YR75oJmEZQbKningirmGOEJCIk61Q==","signatures":[{"sig":"MEQCICrx53MNYHtXBl1NMU37pkN2eeIi2C5jnhsD7chqEnhmAiAMAx/O2c8b1SywltBNJnsiEoJjC4Msz2BMCbUphCRNPQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/obug@2.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":29669},"main":"./dist/ansi.js","type":"module","types":"./dist/browser.d.ts","unpkg":"./dist/browser.min.js","module":"./dist/ansi.js","engines":{"node":">=12.20.0"},"exports":{".":{"node":"./dist/ansi.js","fastly":"./dist/plain.js","browser":"./dist/browser.js","default":"./dist/browser.js","workerd":"./dist/plain.js","edge-light":"./dist/plain.js","react-native":"./dist/plain.js"},"./ansi":"./dist/ansi.js","./plain":"./dist/plain.js","./browser":"./dist/browser.js","./package.json":"./package.json"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","play":"vite playground","size":"node scripts/bundle-size.ts","test":"vitest","build":"tsdown","format":"prettier --cache --write .","release":"bumpp","lint:fix":"pnpm run lint --fix","typecheck":"tsgo --noEmit","test:coverage":"vitest --project node --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","approver":{"name":"sxzz","email":"npm@sxzz.moe"},"trustedPublisher":{"id":"github","oidcConfigId":"oidc:5b5ac195-23c7-4d6a-830a-047e5f7266aa"}},"jsdelivr":"./dist/browser.min.js","prettier":"@sxzz/prettier-config","devEngines":{"packageManager":{"name":"pnpm","onFail":"download","version":"12.3.4"}},"repository":{"url":"git+https://github.com/sxzz/obug.git","type":"git"},"description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","directories":{},"sideEffects":false,"react-native":"./dist/plain.js","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.2.2","bumpp":"^12.3.0","debug":"^4.4.3","eslint":"^10.10.0","tsdown":"^0.23.0","vitest":"^5.0.0","prettier":"^3.9.6","playwright":"^1.63.0","typescript":"^6.0.3","@types/node":"^26.5.0","@types/debug":"^4.1.13","@sxzz/eslint-config":"^8.6.0","@vitest/coverage-v8":"^5.0.0","@sxzz/prettier-config":"^2.3.2","@typescript/native-preview":"7.0.0-dev.20260707.2","@vitest/browser-playwright":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/obug_2.2.1_1788933170590_0.6074911885275633","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"_id":"obug@3.0.0","bugs":{"url":"https://github.com/sxzz/obug/issues"},"dist":{"shasum":"2ddfc17d1c1dd8c825eebd127099da307c919299","tarball":"https://registry.npmjs.org/obug/-/obug-3.0.0.tgz","integrity":"sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw==","fileCount":11,"unpackedSize":25484,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/obug@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDOaK8GK3s6Q0mBZod/UhYrypj59fUeDEzyzBTK1m+WfQIgTmgxPtnmB5MsKOugC33jETObYc1okWcJNEQtM5yGJYA="}]},"name":"obug","type":"module","types":"./dist/browser.d.ts","author":"Kevin Deng <sxzz@sxzz.moe>","engines":{"node":">=12.20.0"},"exports":{".":{"node":"./dist/ansi.js","fastly":"./dist/plain.js","browser":"./dist/browser.js","default":"./dist/browser.js","workerd":"./dist/plain.js","edge-light":"./dist/plain.js","react-native":"./dist/plain.js"},"./ansi":"./dist/ansi.js","./plain":"./dist/plain.js","./browser":"./dist/browser.js","./package.json":"./package.json"},"funding":["https://github.com/sponsors/sxzz","https://opencollective.com/debug"],"license":"MIT","scripts":{"dev":"tsdown --watch","lint":"eslint --cache .","play":"vite playground","size":"node scripts/bundle-size.ts","test":"vitest","build":"tsdown","format":"prettier --cache --write .","release":"bumpp","lint:fix":"pnpm run lint --fix","typecheck":"tsgo --noEmit","test:coverage":"vitest --project node --coverage"},"version":"3.0.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5b5ac195-23c7-4d6a-830a-047e5f7266aa"},"approver":{"name":"sxzz","email":"npm@sxzz.moe"}},"homepage":"https://github.com/sxzz/obug#readme","prettier":"@sxzz/prettier-config","devEngines":{"packageManager":{"name":"pnpm","onFail":"download","version":"12.3.4"}},"repository":{"url":"git+https://github.com/sxzz/obug.git","type":"git"},"description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","directories":{},"maintainers":[{"name":"sxzz","email":"npm@sxzz.moe"}],"sideEffects":false,"react-native":"./dist/plain.js","publishConfig":{"access":"public"},"devDependencies":{"vite":"^8.2.2","bumpp":"^12.3.0","debug":"^4.4.3","eslint":"^10.10.0","tsdown":"^0.23.0","vitest":"^5.0.0","prettier":"^3.9.6","playwright":"^1.63.0","typescript":"^6.0.3","@types/node":"^26.5.0","@types/debug":"^4.1.13","@sxzz/eslint-config":"^8.6.0","@vitest/coverage-v8":"^5.0.0","@sxzz/prettier-config":"^2.3.2","@typescript/native-preview":"7.0.0-dev.20260707.2","@vitest/browser-playwright":"^5.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/obug_3.0.0_1788934430709_0.36997615768792036"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-11T17:51:25.041Z","modified":"2026-09-09T06:13:51.051Z","1.0.1":"2016-12-04T04:07:06.091Z","0.0.0":"2025-11-11T17:51:25.247Z","0.0.1":"2025-11-11T21:34:20.151Z","0.1.0":"2025-11-11T22:31:16.348Z","0.1.1":"2025-11-11T23:11:24.860Z","0.1.2":"2025-11-12T11:21:10.858Z","0.1.3":"2025-11-12T12:18:39.371Z","1.0.0":"2025-11-12T20:56:09.972Z","2.0.0-beta.1":"2025-11-13T00:51:04.209Z","2.0.0":"2025-11-15T17:24:45.994Z","1.0.2":"2025-11-19T07:42:39.421Z","2.1.0":"2025-11-19T23:02:27.534Z","2.1.1":"2025-11-22T09:31:55.146Z","2.1.2":"2026-06-04T10:38:21.245Z","2.1.3":"2026-06-12T13:45:24.644Z","2.1.4":"2026-07-16T16:28:10.927Z","2.2.0":"2026-09-09T05:30:07.566Z","2.2.1":"2026-09-09T05:52:50.666Z","3.0.0":"2026-09-09T06:13:50.788Z"},"bugs":{"url":"https://github.com/sxzz/obug/issues"},"author":"Kevin Deng <sxzz@sxzz.moe>","license":"MIT","homepage":"https://github.com/sxzz/obug#readme","repository":{"url":"git+https://github.com/sxzz/obug.git","type":"git"},"description":"A lightweight JavaScript debugging utility, forked from debug, featuring TypeScript and ESM support.","maintainers":[{"name":"sxzz","email":"npm@sxzz.moe"}],"readme":"# obug\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![JSR][jsr-badge-src]][jsr-badge-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<!-- Run `pnpm size` to update the minified + gzip (level 9, decimal kB) entry sizes below. Node built-ins remain external. -->\n\n- ✨ Minimal footprint\n  - 1.08 kB minified + gzipped (plain)\n  - 1.52 kB minified + gzipped (browser)\n  - 1.73 kB minified + gzipped (ansi)\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### Runtimes\n\n`obug` automatically selects ANSI output for Node.js/Bun/Deno, plain console output for React Native/Expo and Cloudflare Workers/Vercel Edge/Fastly Compute, and CSS console colors for browsers.\n\nTo choose explicitly, import `obug/ansi`, `obug/plain`, or `obug/browser`.\n\nJSR defaults to the browser implementation without automatic selection. Use `jsr:@sxzz/obug/ansi` for terminals or `jsr:@sxzz/obug/plain` for plain output.\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## How to use\n\n### Enabling debug output\n\nobug picks up enabled namespaces from the `DEBUG` environment variable in Node.js, or from `localStorage.debug` in browsers.\n\nIn Node.js:\n\n```bash\nDEBUG=app:* node app.js\n```\n\nOn Windows (CMD):\n\n```cmd\nset DEBUG=app:* & node app.js\n```\n\nOn Windows (PowerShell):\n\n```powershell\n$env:DEBUG='app:*'; node app.js\n```\n\nIn the browser, set the value in DevTools and refresh the page:\n\n```js\nlocalStorage.debug = 'app:*'\n```\n\n### Wildcards and exclusion\n\nThe `*` character is a wildcard. Suppose your library has debuggers named `connect:bodyParser`, `connect:compress`, and `connect:session` — instead of listing each one, use `DEBUG=connect:*`. Use `DEBUG=*` to enable everything.\n\nExclude namespaces by prefixing them with `-`:\n\n```bash\nDEBUG=*,-connect:* node app.js\n```\n\n### Namespace conventions\n\nIf you're using obug in a library, prefix your namespaces with the library name and use `:` to separate features (e.g. `connect:bodyParser`). This lets users opt into the parts they care about without guessing names.\n\n### Extending a namespace\n\nUse `.extend()` to create a sub-namespace that inherits options from its parent:\n\n```ts\nconst log = createDebug('auth')\nconst logSign = log.extend('sign') // 'auth:sign'\nconst logLogin = log.extend('login') // 'auth:login'\n\nlog('hello') // auth hello\nlogSign('hello') // auth:sign hello\nlogLogin('hello') // auth:login hello\n```\n\n### Formatters\n\nobug uses [printf-style](https://wikipedia.org/wiki/Printf_format_string) formatting. Built-in formatters:\n\n| Formatter | Representation                                     |\n| --------- | -------------------------------------------------- |\n| `%O`      | Pretty-print an Object on multiple lines.          |\n| `%o`      | Pretty-print an Object all on a single line.       |\n| `%%`      | Single percent sign. Does not consume an argument. |\n\nOther format specifiers supported by Node's `util.format` (`%s`, `%d`, `%j`, …) and the browser console pass through to the underlying logger.\n\n#### Custom formatters\n\nRegister custom formatters via the `formatters` option. For example, to render a `Buffer` as hex with `%h`:\n\n```ts\nconst debug = createDebug('foo', {\n  formatters: {\n    h: (v) => v.toString('hex'),\n  },\n})\n\ndebug('this is hex: %h', Buffer.from('hello world'))\n//   foo this is hex: 68656c6c6f20776f726c64 +0ms\n```\n\n### Dynamic enable / disable\n\nYou can toggle namespaces at runtime:\n\n```ts\nimport { disable, enable, enabled, namespaces } from 'obug'\n\nenable('app:*')\nconsole.log(enabled('app:server')) // true\n\nconst previous = disable()\nconsole.log(enabled('app:server')) // false\n\n// Restore later\nenable(previous)\n```\n\n`namespaces()` returns the string of currently enabled namespaces. Note that calling `enable()` overrides the value initially read from `DEBUG`.\n\n### Checking whether a debugger is enabled\n\nGuard expensive work behind the `enabled` property:\n\n```ts\nconst debug = createDebug('http')\n\nif (debug.enabled) {\n  // expensive computation only when enabled\n}\n```\n\nYou can also force the state by assigning to `debug.enabled` directly.\n\n### Custom output\n\nBy default, obug writes to `stderr` in Node.js and to the console in browsers. Override the `log` option to redirect output per-namespace:\n\n```ts\nconst log = createDebug('app:log', {\n  log: console.log,\n})\n\nconst error = createDebug('app:error') // still goes to stderr\n```\n\n### Environment variables (Node.js)\n\n| Name                | Purpose                                         |\n| ------------------- | ----------------------------------------------- |\n| `DEBUG`             | Enables/disables specific debugging namespaces. |\n| `DEBUG_HIDE_DATE`   | Hide date from debug output (non-TTY).          |\n| `DEBUG_COLORS`      | Whether to use colors in the debug output.      |\n| `DEBUG_DEPTH`       | Object inspection depth.                        |\n| `DEBUG_SHOW_HIDDEN` | Shows hidden properties on inspected objects.   |\n\nVariables prefixed with `DEBUG_` are converted to camelCase keys on the options object passed to Node's [`util.inspect()`](https://nodejs.org/api/util.html#util_util_inspect_object_options) for the `%o` / `%O` formatters.\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[jsr-badge-src]: https://jsr.io/badges/@sxzz/obug\n[jsr-badge-href]: https://jsr.io/@sxzz/obug\n","readmeFilename":""}