@types/debug

  • Version 4.1.12
  • Published
  • 6.45 kB
  • 1 dependency
  • MIT license

Install

npm i @types/debug
yarn add @types/debug
pnpm add @types/debug

Overview

TypeScript definitions for debug

Index

Variables

variable debug

var debug: debug.Debug & { debug: debug.Debug; default: debug.Debug };

    Interfaces

    interface Debug

    interface Debug {}

      property coerce

      coerce: (val: any) => any;

        property disable

        disable: () => string;

          property enable

          enable: (namespaces: string) => void;

            property enabled

            enabled: (namespaces: string) => boolean;

              property formatArgs

              formatArgs: (this: Debugger, args: any[]) => void;

                property formatters

                formatters: Formatters;

                  property humanize

                  humanize: typeof import('ms');

                    property inspectOpts

                    inspectOpts?: {
                    hideDate?: boolean | number | null;
                    colors?: boolean | number | null;
                    depth?: boolean | number | null;
                    showHidden?: boolean | number | null;
                    };

                      property log

                      log: (...args: any[]) => any;

                        property names

                        names: RegExp[];

                          property selectColor

                          selectColor: (namespace: string) => string | number;

                            property skips

                            skips: RegExp[];

                              call signature

                              (namespace: string): Debugger;

                                interface Debugger

                                interface Debugger {}

                                  property color

                                  color: string;

                                    property destroy

                                    destroy: () => boolean;

                                      property diff

                                      diff: number;

                                        property enabled

                                        enabled: boolean;

                                          property extend

                                          extend: (namespace: string, delimiter?: string) => Debugger;

                                            property log

                                            log: (...args: any[]) => any;

                                              property namespace

                                              namespace: string;

                                                call signature

                                                (formatter: any, ...args: any[]): void;

                                                  interface Formatters

                                                  interface Formatters {}

                                                    index signature

                                                    [formatter: string]: (v: any) => string;

                                                      Type Aliases

                                                      type IDebug

                                                      type IDebug = Debug;

                                                        type IDebugger

                                                        type IDebugger = Debugger;

                                                          Package Files (1)

                                                          Dependencies (1)

                                                          Dev Dependencies (0)

                                                          No dev dependencies.

                                                          Peer Dependencies (0)

                                                          No peer dependencies.

                                                          Badge

                                                          To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                                          You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/debug.

                                                          • Markdown
                                                            [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/debug)
                                                          • HTML
                                                            <a href="https://www.jsdocs.io/package/@types/debug"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>