lac
log and color
INSTALL
npm install lac
USAGE
; ; // "!" => high intensity color; "-" => background color; // "^...^" => cyan, only parse first paramater's markdown tag; // parse all paramaters markdown tag// logd is an alias of logDeep let cyanStr = ; // return colored string, not output;
CUSTOM
; COLORdarkgreen = '006400';; MARKDOWN$ = '006400';;
DEFAULTS
// COLORCOLOR = brown: 'A52A2A' chocolate: 'D2691E' ghostwhite: 'F8F8FF' gold: 'FFD700' navy: '000080' olive: '808000' orange: 'FFA500' orangered: 'FF4500' pink: 'FFC0CB' purple: '800080' seagreen: '2E8B57' silver: 'C0C0C0' skyblue: '87CEEB' yellowgreen: '9ACD32' // MARKDOWNMARKDOWN = '**': 'bold' '*': 'gray' '`': 'red.-white' '__': 'underline' '_': 'italic' '!': 'yellow' '#': 'red' '@': 'blue' '&': 'green' '^': 'cyan' '~': 'magenta'