@redocly/openapi-core
Version:
See https://github.com/Redocly/openapi-cli
30 lines (23 loc) • 416 B
JavaScript
;
function red(str) {
return '\u001b[31m' + str + '\u001b[0m';
}
function green(str) {
return '\u001b[32m' + str + '\u001b[0m';
}
function yellow(str) {
return '\u001b[33m' + str + '\u001b[0m';
}
function cyan(str) {
return '\u001b[36m' + str + '\u001b[0m';
}
function grey(str) {
return '\u001b[90m' + str + '\u001b[0m';
}
module.exports = {
red,
green,
yellow,
cyan,
grey,
};