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)