-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.js
90 lines (88 loc) · 1.65 KB
/
index.js
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/* Exporting the ChalkAdvanced class from the src/chalk-advanced.js file. */
const {
black,
red,
green,
yellow,
blue,
magenta,
cyan,
white,
gray,
redBright,
greenBright,
yellowBright,
blueBright,
magentaBright,
cyanBright,
whiteBright,
bgBlack,
bgRed,
bgGreen,
bgYellow,
bgBlue,
bgMagenta,
bgCyan,
bgWhite,
bgRedBright,
bgGreenBright,
bgYellowBright,
bgBlueBright,
bgMagentaBright,
bgCyanBright,
bgWhiteBright,
bold,
dim,
italic,
underline,
inverse,
hide,
strikethrough,
} = require("./src/ChalkAdvanced");
const { hex } = require("./src/components/hex");
const { rgb } = require("./src/components/rgb");
const { hsl } = require("./src/components/hsl");
module.exports = {
ChalkAdvanced: require("./src/ChalkAdvanced"),
black: black,
red: red,
green: green,
yellow: yellow,
blue: blue,
magenta: magenta,
cyan: cyan,
white: white,
gray: gray,
redBright: redBright,
greenBright: greenBright,
yellowBright: yellowBright,
blueBright: blueBright,
magentaBright: magentaBright,
cyanBright: cyanBright,
whiteBright: whiteBright,
bgBlack: bgBlack,
bgRed: bgRed,
bgGreen: bgGreen,
bgYellow: bgYellow,
bgBlue: bgBlue,
bgMagenta: bgMagenta,
bgCyan: bgCyan,
bgWhite: bgWhite,
bgRedBright: bgRedBright,
bgGreenBright: bgGreenBright,
bgYellowBright: bgYellowBright,
bgBlueBright: bgBlueBright,
bgMagentaBright: bgMagentaBright,
bgCyanBright: bgCyanBright,
bgWhiteBright: bgWhiteBright,
bold: bold,
dim: dim,
italic: italic,
underline: underline,
inverse: inverse,
hide: hide,
strikethrough: strikethrough,
hex: hex,
rgb: rgb,
hsl: hsl,
};