New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

fresh-console

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fresh-console

Colored console override with partial output support

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

:rainbow: 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!

Keywords

colors

FAQs

Package last updated on 29 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts