Skip to content

foxxyz/fresh-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌈 Fresh Console

Augment console logging functions to output with severity-specific colors.

Includes additions for logging without newlines.

Because readability matters.

Installation

npm install fresh-console

Usage

import 'fresh-console'

console.debug("👀 For developers only")
console.log("🙈 Don't pay attention to me")
console.info("👍 Things are going fine")
console.warn("⚡ I hope you know what you're doing")
console.error("🔥 Something went very wrong")
console.success("✅ Successful completion!")

console.part.info("⏳ For when you're waiting...")
console.info("And then you're done ⌛")

Output

output.png

Credits

This package is a fork of paint-console by Maxim Borodin, which I've used for a long time. Thanks Maxim!

About

Colored console output for Node.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published