UNPKG

colorifylog

Version:

Colorifylog is a tool to color your console logs.

76 lines 1.73 kB
[ { "type": "foreground", "values":[ { "label" : "Black", "value": "\\x1b[30m", "hex": "#000000" }, { "label": "Red", "value":"\\x1b[31m", "hex": "#ff0000" }, { "label": "Green", "value": "\\x1b[32m", "hex": "#008000" }, { "label": "Yellow", "value": "\\x1b[33m", "hex": "#ffff00" }, { "label": "Blue", "value":"\\x1b[34m", "hex": "#0000ff" }, { "label": "Magenta", "value": "\\x1b[35m", "hex": "#ff00ff" }, { "label": "Cyan", "value":"\\x1b[36m", "hex": "#00ffff" }, { "label" : "white", "value": "\\x1b[37m", "hex": "ffffff" } ] }, { "type": "background", "values":[ { "Black" : "x1b[40m" }, { "Red": "x1b[41m" }, { "Green" : "x1b[42m" }, { "Yellow" : "x1b[43m" }, { "Blue": "x1b[44m" }, { "Magenta" : "x1b[45m" }, { "Cyan": "x1b[46m" }, { "White" : "x1b[47m" } ] } ]