Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

colorfulConsole

make console outputs colorful in both terminal and browser.

Similar to colour.js

Usage in Node JS:

	var colorfulConsole = require('colorfulConsole');
	colorfulConsole.bold().red().log("Printed in Bold and Red");
	colorfulConsole.green("[green tag]").pink("[pink tag]").log("Plain Text");
	colorfulConsole.cyanBg("Background").blueBg("Supported").log();

Usage in Browser:

<!DOCTYPE html>
<html>
<body>
Open Chrome Console To See the output
<script src="colorfulConsole.js"></script>
<script>
    colorfulConsole.red("Red")
            .bold().green("Bold and Green")
            .yellow().bold().blackBg("Yellow, Bold, Black Background")
            .info("Normal console.info()");
</script>
</body>
</html>

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages