import chalk from 'chalk' ; export const chalkString = ( s ) : string => chalk . green ( `'${ s }'` ) ; export const chalkKeyword = ( s ) : string => chalk . blue ( `${ s }` ) ; export const chalkJson = ( s ) : string => chalk . grey ( JSON . stringify ( s ) ) ; export const chalkStringArray = ( a ) : string => `[ ${ a . map ( chalkString ) . join ( ', ' ) } ]` ; export const chalkNumber = ( n ) : string => chalk . yellow ( `${ n }` ) ; export const chalkBoolean = ( b ) : string => chalk . yellow ( b ? 'true' : 'false' ) ; export const chalkDate = ( d ) : string => chalk . magenta ( d . toISOString ( ) ) ;