1.0.0 • Published 10 years ago

colorful-console v1.0.0

Weekly downloads
5
License
-
Repository
github
Last release
10 years ago

colorfulConsole

make console outputs colorful in both terminal and browser.

Similar to (colour.js)https://github.com/dcodeIO/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>