Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 340 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 340 Bytes

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();