DEV Community

Rahul Sharma
Rahul Sharma

Posted on

Introducing cliplog: Minimal Logging Utility for Your CLI Tools

If you're building CLI tools in JavaScript or Node.js, you know how important clean and styled logging is — especially during development or for end users.

That's why I built cliplog — a minimal, dependency-free logging helper for CLI tools.


🚀 Why cliplog?

✅ Zero dependencies

✅ Easy to use

✅ Color-coded output

✅ Clean, minimal API

✅ Works seamlessly in any Node.js CLI project


📦 Install

npm install cliplog
Enter fullscreen mode Exit fullscreen mode

📖 How to Use
Import the function:

import { clog } from 'cliplog';
Enter fullscreen mode Exit fullscreen mode

Use it like console.log, but better:

clog('Hello world!');
clog({ name: 'Alice', age: 25 });
Enter fullscreen mode Exit fullscreen mode

🙌 Feedback Welcome!
This is an early release, and I’d love to hear your thoughts!
Feel free to open issues, suggest improvements, or contribute!

Thanks for checking it out 💙

Top comments (0)