fresh-console

2.0.0 • Public • Published

🌈 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!

Package Sidebar

Install

npm i fresh-console

Weekly Downloads

16

Version

2.0.0

License

MIT

Unpacked Size

3.83 kB

Total Files

4

Last publish

Collaborators

  • 0x0f