palin.js
function getColorSeverity(severity) {
    // get the color associated with the severity level
    const color = severityMap[severity] || 'white';
    return chalk[color].bold(severity.toUpperCase());
}
function getColorSeverity(severity) {
    // get the color associated with the severity level
    const color = severityMap[severity] || 'white';
    return chalk[color].bold(severity.toUpperCase());
}
function getColorSeverity ( severity ) { // get the color associated with the severity level const color = severityMap [ severity ] || 'white' ; return chalk [ color ] . bold ( severity . toUpperCase ( ) ) ; }
returns the colorized text for the given severity level
returns the colorized text for the given severity level