emoji-reg
v1.0.2
Published
A simple emoji-based logger for CLI and applications.
Maintainers
Readme
🧾 emoji-reg
🛠️ Usage
✨ Importing and Logging in Code
emoji-reg package in your TypeScript or JavaScript project:
const { log } = require("emoji-reg");
// Default is "info"
log("This is an info message");
// Explicit log levels
log("Everything worked!", "success");
log("Hmm, something looks off...", "warning");
log("Something went wrong!", "error");Note: This package is compatible with CommonJS only. ❌ import (ESM) is not yet supported.
A simple CLI and library tool that logs messages with relevant emojis based on log level. Great for making your terminal output more fun and readable!
📦 Installation
Using npm
npm install -g emoji-logor
npm install emoji-log