debug/000755 001751 000177 0000000000 14523046321013617 5ustar00runner000000 000000 1452304632114523046321debug/LICENSE000644 001751 000177 0000002165 14523046321014630 0ustar00runner000000 000000 1452304632114523046321 MIT License Copyright (c) Microsoft Corporation. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE debug/README.md000644 001751 000177 0000004315 14523046321015101 0ustar00runner000000 000000 1452304632114523046321# Installation > `npm install --save @types/debug` # Summary This package contains type definitions for debug (https://github.com/debug-js/debug). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/debug. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/debug/index.d.ts) ````ts declare var debug: debug.Debug & { debug: debug.Debug; default: debug.Debug }; export = debug; export as namespace debug; declare namespace debug { interface Debug { (namespace: string): Debugger; coerce: (val: any) => any; disable: () => string; enable: (namespaces: string) => void; enabled: (namespaces: string) => boolean; formatArgs: (this: Debugger, args: any[]) => void; log: (...args: any[]) => any; selectColor: (namespace: string) => string | number; humanize: typeof import("ms"); names: RegExp[]; skips: RegExp[]; formatters: Formatters; inspectOpts?: { hideDate?: boolean | number | null; colors?: boolean | number | null; depth?: boolean | number | null; showHidden?: boolean | number | null; }; } type IDebug = Debug; interface Formatters { [formatter: string]: (v: any) => string; } type IDebugger = Debugger; interface Debugger { (formatter: any, ...args: any[]): void; color: string; diff: number; enabled: boolean; log: (...args: any[]) => any; namespace: string; destroy: () => boolean; extend: (namespace: string, delimiter?: string) => Debugger; } } ```` ### Additional Details * Last updated: Thu, 09 Nov 2023 03:06:57 GMT * Dependencies: [@types/ms](https://npmjs.com/package/@types/ms) # Credits These 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). debug/index.d.ts000644 001751 000177 0000002502 14523046321015517 0ustar00runner000000 000000 1452304632114523046321declare var debug: debug.Debug & { debug: debug.Debug; default: debug.Debug }; export = debug; export as namespace debug; declare namespace debug { interface Debug { (namespace: string): Debugger; coerce: (val: any) => any; disable: () => string; enable: (namespaces: string) => void; enabled: (namespaces: string) => boolean; formatArgs: (this: Debugger, args: any[]) => void; log: (...args: any[]) => any; selectColor: (namespace: string) => string | number; humanize: typeof import("ms"); names: RegExp[]; skips: RegExp[]; formatters: Formatters; inspectOpts?: { hideDate?: boolean | number | null; colors?: boolean | number | null; depth?: boolean | number | null; showHidden?: boolean | number | null; }; } type IDebug = Debug; interface Formatters { [formatter: string]: (v: any) => string; } type IDebugger = Debugger; interface Debugger { (formatter: any, ...args: any[]): void; color: string; diff: number; enabled: boolean; log: (...args: any[]) => any; namespace: string; destroy: () => boolean; extend: (namespace: string, delimiter?: string) => Debugger; } } debug/package.json000644 001751 000177 0000003256 14523046321016113 0ustar00runner000000 000000 1452304632114523046321{ "name": "@types/debug", "version": "4.1.12", "description": "TypeScript definitions for debug", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/debug", "license": "MIT", "contributors": [ { "name": "Seon-Wook Park", "githubUsername": "swook", "url": "https://github.com/swook" }, { "name": "Gal Talmor", "githubUsername": "galtalmor", "url": "https://github.com/galtalmor" }, { "name": "John McLaughlin", "githubUsername": "zamb3zi", "url": "https://github.com/zamb3zi" }, { "name": "Brasten Sager", "githubUsername": "brasten", "url": "https://github.com/brasten" }, { "name": "Nicolas Penin", "githubUsername": "npenin", "url": "https://github.com/npenin" }, { "name": "Kristian Brünn", "githubUsername": "kristianmitk", "url": "https://github.com/kristianmitk" }, { "name": "Caleb Gregory", "githubUsername": "calebgregory", "url": "https://github.com/calebgregory" } ], "main": "", "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", "directory": "types/debug" }, "scripts": {}, "dependencies": { "@types/ms": "*" }, "typesPublisherContentHash": "1053110a8e5e302f35fb57f45389304fa5a4f53bb8982b76b8065bcfd7083731", "typeScriptVersion": "4.5" }