nullvoid
Version:
Detect malicious code
22 lines • 816 B
JavaScript
/**
* Colors utility for terminal output
*/
Object.defineProperty(exports, "__esModule", { value: true });
const colors = {
red: (text) => `\x1b[31m${text}\x1b[0m`,
green: (text) => `\x1b[32m${text}\x1b[0m`,
yellow: (text) => `\x1b[33m${text}\x1b[0m`,
blue: (text) => `\x1b[34m${text}\x1b[0m`,
magenta: (text) => `\x1b[35m${text}\x1b[0m`,
cyan: (text) => `\x1b[36m${text}\x1b[0m`,
white: (text) => `\x1b[37m${text}\x1b[0m`,
gray: (text) => `\x1b[90m${text}\x1b[0m`,
bold: (text) => `\x1b[1m${text}\x1b[0m`,
dim: (text) => `\x1b[2m${text}\x1b[0m`,
italic: (text) => `\x1b[3m${text}\x1b[0m`,
underline: (text) => `\x1b[4m${text}\x1b[0m`,
strikethrough: (text) => `\x1b[9m${text}\x1b[0m`
};
exports.default = colors;
//# sourceMappingURL=colors.js.map
;