{"name":"@types/debug","version":"4.1.13","license":"MIT","_id":"@types/debug@4.1.13","maintainers":[{"name":"types","email":"ts-npm-types@microsoft.com"}],"contributors":[{"url":"https://github.com/swook","name":"Seon-Wook Park","githubUsername":"swook"},{"url":"https://github.com/galtalmor","name":"Gal Talmor","githubUsername":"galtalmor"},{"url":"https://github.com/zamb3zi","name":"John McLaughlin","githubUsername":"zamb3zi"},{"url":"https://github.com/brasten","name":"Brasten Sager","githubUsername":"brasten"},{"url":"https://github.com/npenin","name":"Nicolas Penin","githubUsername":"npenin"},{"url":"https://github.com/kristianmitk","name":"Kristian Brünn","githubUsername":"kristianmitk"},{"url":"https://github.com/calebgregory","name":"Caleb Gregory","githubUsername":"calebgregory"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/debug","dist":{"shasum":"22d1cc9d542d3593caea764f974306ab36286ee7","tarball":"http://registry-npm.ywwl.com/@types/debug/download/@types/debug-4.1.13.tgz","fileCount":5,"integrity":"sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==","signatures":[{"sig":"MEYCIQCCohHoTMDF9sIpZzy/frzwcUke6lZ3z2Ymgw7SFeNt+QIhALE3pmngu1EJ/hWfKUzqHh5s+NxRmtpr/uNosu0wFoKj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6478,"size":2180,"noattachment":false,"key":"/@types/debug/-/@types/debug-4.1.13.tgz"},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/debug"},"description":"TypeScript definitions for debug","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@types/ms":"*"},"_hasShrinkwrap":false,"peerDependencies":{},"typeScriptVersion":"5.2","_npmOperationalInternal":{"tmp":"tmp/debug_4.1.13_1773902843795_0.5319338151320678","host":"s3://npm-registry-packages-npm-production"},"typesPublisherContentHash":"1c506e100366b85350ff1c28c9cf4cc09e9a07275546bb050993c241c9821cd9","readme":"# Installation\r\n> `npm install --save @types/debug`\r\n\r\n# Summary\r\nThis package contains type definitions for debug (https://github.com/debug-js/debug).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/debug.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/debug/index.d.ts)\r\n````ts\r\ndeclare var debug: debug.Debug & { debug: debug.Debug; default: debug.Debug };\n\nexport = debug;\nexport as namespace debug;\n\ndeclare namespace debug {\n    interface Debug {\n        (namespace: string): Debugger;\n        coerce: (val: any) => any;\n        disable: () => string;\n        enable: (namespaces: string) => void;\n        enabled: (namespaces: string) => boolean;\n        formatArgs: (this: Debugger, args: any[]) => void;\n        log: (...args: any[]) => any;\n        selectColor: (namespace: string) => string | number;\n        humanize: typeof import(\"ms\");\n\n        names: string[];\n        skips: string[];\n\n        formatters: Formatters;\n\n        inspectOpts?: {\n            hideDate?: boolean | number | null;\n            colors?: boolean | number | null;\n            depth?: boolean | number | null;\n            showHidden?: boolean | number | null;\n        };\n    }\n\n    type IDebug = Debug;\n\n    interface Formatters {\n        [formatter: string]: (v: any) => string;\n    }\n\n    type IDebugger = Debugger;\n\n    interface Debugger {\n        (formatter: any, ...args: any[]): void;\n\n        color: string;\n        diff: number;\n        enabled: boolean;\n        log: (...args: any[]) => any;\n        namespace: string;\n        destroy: () => boolean;\n        extend: (namespace: string, delimiter?: string) => Debugger;\n    }\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Thu, 19 Mar 2026 06:47:22 GMT\r\n * Dependencies: [@types/ms](https://npmjs.com/package/@types/ms)\r\n\r\n# Credits\r\nThese definitions were written by [Seon-Wook Park](https://github.com/swook), [Gal Talmor](https://github.com/galtalmor), [John McLaughlin](https://github.com/zamb3zi), [Brasten Sager](https://github.com/brasten), [Nicolas Penin](https://github.com/npenin), [Kristian Brünn](https://github.com/kristianmitk), and [Caleb Gregory](https://github.com/calebgregory).\r\n","publish_time":1773902843938,"_cnpm_publish_time":1773902843938,"dist-tags":{"latest":"4.1.13","ts2.0":"4.1.5","ts2.1":"4.1.5","ts2.2":"4.1.5","ts2.3":"4.1.5","ts2.4":"4.1.5","ts2.5":"4.1.5","ts2.6":"4.1.5","ts2.7":"4.1.5","ts2.8":"4.1.5","ts2.9":"4.1.5","ts3.0":"4.1.5","ts3.1":"4.1.5","ts3.2":"4.1.5","ts3.3":"4.1.5","ts3.4":"4.1.5","ts3.5":"4.1.5","ts3.6":"4.1.7","ts3.7":"4.1.7","ts3.8":"4.1.7","ts3.9":"4.1.7","ts4.0":"4.1.7","ts4.1":"4.1.7","ts4.2":"4.1.7","ts4.3":"4.1.8","ts4.4":"4.1.8","ts4.5":"4.1.12","ts4.6":"4.1.12","ts4.7":"4.1.12","ts4.8":"4.1.12","ts4.9":"4.1.12","ts5.0":"4.1.12","ts5.1":"4.1.12","ts5.2":"4.1.13","ts5.3":"4.1.13","ts5.4":"4.1.13","ts5.5":"4.1.13","ts5.6":"4.1.13","ts5.7":"4.1.13","ts5.8":"4.1.13","ts5.9":"4.1.13","ts6.0":"4.1.13","ts7.0":"4.1.13","ts7.1":"4.1.13"}}