source: trip-planner-front/node_modules/colors/safe.d.ts

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.9 KB
Line 
1// Type definitions for Colors.js 1.2
2// Project: https://github.com/Marak/colors.js
3// Definitions by: Bart van der Schoor <https://github.com/Bartvds>, Staffan Eketorp <https://github.com/staeke>
4// Definitions: https://github.com/Marak/colors.js
5
6export const enabled: boolean;
7export function enable(): void;
8export function disable(): void;
9export function setTheme(theme: any): void;
10
11export function strip(str: string): string;
12export function stripColors(str: string): string;
13
14export function black(str: string): string;
15export function red(str: string): string;
16export function green(str: string): string;
17export function yellow(str: string): string;
18export function blue(str: string): string;
19export function magenta(str: string): string;
20export function cyan(str: string): string;
21export function white(str: string): string;
22export function gray(str: string): string;
23export function grey(str: string): string;
24
25export function bgBlack(str: string): string;
26export function bgRed(str: string): string;
27export function bgGreen(str: string): string;
28export function bgYellow(str: string): string;
29export function bgBlue(str: string): string;
30export function bgMagenta(str: string): string;
31export function bgCyan(str: string): string;
32export function bgWhite(str: string): string;
33
34export function reset(str: string): string;
35export function bold(str: string): string;
36export function dim(str: string): string;
37export function italic(str: string): string;
38export function underline(str: string): string;
39export function inverse(str: string): string;
40export function hidden(str: string): string;
41export function strikethrough(str: string): string;
42
43export function rainbow(str: string): string;
44export function zebra(str: string): string;
45export function america(str: string): string;
46export function trap(str: string): string;
47export function random(str: string): string;
48export function zalgo(str: string): string;
Note: See TracBrowser for help on using the repository browser.