Package Exports
- console-styles
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (console-styles) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
About
console styles is a simple package for logging information to the console that is coloured/styled in anyway you like. Side note, not all styles and colours will work depending on what system you are running so be weary. I made this because I was messing around with JavaScript Proxy objects and I liked the idea of incorporating console.log into it rather than wrapping it around a styled string
Example
const styler = require("console-styles");
// log underlined red text to the console
styler.red.underline.log("hola amigos");
// log black text with cyan background to the console
styler.black.bgCyan.log("wow");