Skip to content

dldc-packages/css-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSS console

Print styled text in the console using CSS styles (using %c flag).

import * as c from "@dldc/css-console";

c.red`Hello world`.log(); // Print "Hello world" in red

c.base`This message is ${c.red`Very`} important`.log();

About

Print colored text to the console using CSS styles

Resources

License

Stars

Watchers

Forks

Packages

No packages published