1.0.0 • Published 3 years ago
praey v1.0.0
PRÆY
Simple and easy to understand colored console logging for Node.js
This library is inspired by the Bun.sh console logging :)
Install
bun add preayDocumentation
Add more colors or combine colors
import { Praey } from "praey";
const log = new Praey({
italic: "\x1b[3m",
});
log.out("This is <italic>important!<r>");Without new call
import { praey } from "praey";
praey.out("<fg-blue>I'm blue<r>");Supported built-in colors
r- This resets the colorbrightdimunderscoreblinkreversehiddenfg-blackfg-redfg-greenfg-yellowfg-bluefg-magentafg-cyanfg-whitebg-blackbg-redbg-greenbg-yellowbg-bluebg-magentabg-cyanbg-white
1.0.0
3 years ago