import chalk from 'chalk' ; export const colors = { error : chalk . red ( 'error' ) + ' -' , ready : chalk . green ( 'ready' ) + ' -' , warn : chalk . yellow ( 'warn' ) + ' -' , event : chalk . magenta ( 'event' ) + ' -' , info : chalk . magenta ( 'info' ) + ' -' , } ; export const ready = ( ... message ) => { console . log ( colors . ready , ... message ) ; } ; export const error = ( ... message ) => { console . error ( colors . error , ... message ) ; } ; export const warn = ( ... message ) => { console . warn ( colors . warn , ... message ) ; } ; export const event = ( ... message ) => { console . log ( colors . event , ... message ) ; } ; export const info = ( ... message ) => { console . log ( colors . info , ... message ) ; } ;