$ gnpm install @types/ansicolors
npm install --save @types/ansicolors
This package contains type definitions for ansicolors (https://github.com/thlorenz/ansicolors).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ansicolors.
// Type definitions for ansicolors
// Project: https://github.com/thlorenz/ansicolors
// Definitions by: Benjamin Arthur Lupton <https://github.com/balupton>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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 default colors;
These definitions were written by Benjamin Arthur Lupton.
Copyright 2013 - present © cnpmjs.org | Home |