console-pretty-formats
v1.0.13
Published
Shortcut package based on the colors.js package. This package allows you to use functions such as pout.warn(message) instead of the clunkier console.log(color.yellow(message)) format.
Downloads
4
Maintainers
Readme
README
console-pretty-colors
NOTE: This package will be heavily updated over the next few days. Please bear this in mind when creating your projects using this package! Be sure to check back often as it is worked on, and new functions are added!
Install via npm install console-pretty-colors
Usage:
- warn - Yellow text sent to console.
- error - Red text
- info - Cyan text
- db - Grey text
- alert - Orange text
Example Usage:
const pout = require('console-pretty-colors');
pout.warn("Yellow");
pout.error("Red");
pout.info("Cyan");
pout.db("Grey");
pout.success("Green");
pout.alert("Orange Underlined and Bold");
pout.alert2("Magenta Underlined and Bold")