Installation
npm install --save @types/ansicolors
Summary
This package contains type definitions for ansicolors (https://github.com/thlorenz/ansicolors).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ansicolors.
index.d.ts
interface Colors {
(value: string): string;
[key: string]: this;
white: this;
black: this;
blue: this;
cyan: this;
green: this;
magenta: this;
red: this;
yellow: this;
brightBlack: this;
brightRed: this;
brightGreen: this;
brightYellow: this;
brightBlue: this;
brightMagenta: this;
brightCyan: this;
brightWhite: this;
bgBlack: this;
bgRed: this;
bgGreen: this;
bgYellow: this;
bgBlue: this;
bgMagenta: this;
bgCyan: this;
bgWhite: this;
bgBrightBlack: this;
bgBrightRed: this;
bgBrightGreen: this;
bgBrightYellow: this;
bgBrightBlue: this;
bgBrightMagenta: this;
bgBrightCyan: this;
bgBrightWhite: this;
open: this;
close: this;
colors: this;
}
declare const colors: Colors;
export = colors;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:04 GMT
- Dependencies: none
Credits
These definitions were written by .