Log4virgin is a minimalist nodejs library for logging items in terminal
npm init -y
npm install --D logvirgins
const {log,table,info,error,count,cls,debug} = require("logvirgins")
That it you are ready to use logvirgins to log out beautiful text on console
// loging
log([value], color[r, g,blu,y,cy,blc, [red, green, blue, yellow, cyan, black]][..optional])
//displaying tables
table([..obj])
//logging out info
info([..string])
//logging errors
error(values)
//counter
// begining of loop
count()
// end of loop
count()
// debug console
debug([..obj])
// clear screen
cls()
log("hello from logvirgins")
//output hello from logvirgins
log("hello from logvirgins", valid color name)
//output
- hello from logvirgins
+ hello from logvirgins
! hello from logvirgins
table(["apples", "oranges", "bananas"])
// output