deno.land / x / nanocolors@0.1.12 / index.d.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
export type Color = (text: string | number) => string
export interface Colors { isColorSupported: boolean reset: Color bold: Color dim: Color italic: Color underline: Color inverse: Color hidden: Color strikethrough: Color black: Color red: Color green: Color yellow: Color blue: Color magenta: Color cyan: Color white: Color gray: Color bgBlack: Color bgRed: Color bgGreen: Color bgYellow: Color bgBlue: Color bgMagenta: Color bgCyan: Color bgWhite: Color}
export const isColorSupported: booleanexport function createColors(enabled?: boolean): Colorsexport const reset: Colorexport const bold: Colorexport const dim: Colorexport const italic: Colorexport const underline: Colorexport const inverse: Colorexport const hidden: Colorexport const strikethrough: Colorexport const black: Colorexport const red: Colorexport const green: Colorexport const yellow: Colorexport const blue: Colorexport const magenta: Colorexport const cyan: Colorexport const white: Colorexport const gray: Colorexport const bgBlack: Colorexport const bgRed: Colorexport const bgGreen: Colorexport const bgYellow: Colorexport const bgBlue: Colorexport const bgMagenta: Colorexport const bgCyan: Colorexport const bgWhite: Color
nanocolors

Version Info

Tagged at
2 years ago