1.0.3 • Published 2 years ago

pconsole-js v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Pconsole-js

Mini lightweight console color logger.

Installation

npm i pconsole-js --save

Usuage

const con=new Pconsole

con.colorRed="color:red;"
con.log(`$<colorRed>Hello World`)

con.colorBlue="color:blue;"
con.log(`$<colorBlue>My color is blue`)

con.myStyleCss="background:yellow;color:green;"
con.log(`$<myStyleCss>you can put all valid css styles`)

const myLog=con.getlog(`$<colorRed>you can get the log and view it later`)
console.log(...myLog)

License

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago