function colorize ( str , color ) { return `\x1b[${ color }m${ str }\x1b[0m` ; } export const red = ( str ) => { return colorize ( str , 31 ) ; } ; export const green = ( str ) => { return colorize ( str , 32 ) ; } ; export const cyan = ( str ) => { return colorize ( str , 96 ) ; } ; export const white = ( str ) => { return colorize ( str , 39 ) ; } ; export const bold = ( str ) => { return colorize ( str , 1 ) ; } ;