-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcore.js
32 lines (32 loc) · 924 Bytes
/
core.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
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
exports.__esModule = true;
exports.COLORS_AND_EFFECTS = exports.COLORS = exports.EFFECTS = void 0;
exports.EFFECTS = {
bold: '\x1b[1m',
italic: '\x1b[3m',
underline: '\x1b[4m',
blink: '\x1b[5m',
conceal: '\x1b[8m'
};
exports.COLORS = {
black: '\x1b[30m',
red: '\x1b[31m',
green: '\x1b[32m',
yellow: '\x1b[33m',
blue: '\x1b[34m',
magenta: '\x1b[35m',
cyan: '\x1b[36m',
white: '\x1b[37m'
};
exports.COLORS_AND_EFFECTS = __assign(__assign({}, exports.COLORS), exports.EFFECTS);