zvakanaka / console-log

Web Component that supports console color

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

console-log Web Component

Color Type Support
ANSI partial
256
truecolor
example

Usage

const log = document.querySelector('console-log');
log.log('something new for the log', 'optional other comma separated things');

// pipe in output from real console
log.log('�[33myellow�[0m, �[34mBlue�[0m, �[32mGreen�[0m �[35mMagenta�[0m, �[31mRed�[0m');

Contributing

Please make a PR or Issue

License

MIT

References

256
truecolor
simple color
https://misc.flogisoft.com/bash/tip_colors_and_formatting

About

Web Component that supports console color

License:MIT License


Languages

Language:HTML 55.9%Language:JavaScript 44.1%