Back to articles
I finally published a side project I wrote 4 years ago
How-ToTools

I finally published a side project I wrote 4 years ago

via Dev.toYash Datir

In 2021, I was building a Node.js CLI tool and got frustrated with how bare console.log looks when you're trying to give users meaningful output. So I wrote a small utility class — some ANSI escape codes, a colored log wrapper, a basic spinner. Enough to get the job done. I used it across a couple of projects. It lived in a local utils/ folder, copy-pasted from repo to repo. I kept telling myself I'd clean it up and put it on npm. That was four years ago. What took so long Honestly? Nothing dramatic. Life, other projects, the usual inertia. The code worked well enough that I never had to revisit it, so I never did. There was also a part of me that felt like it was too small to bother publishing. Who needs another npm package? But I kept using it. And every time I copy-pasted it into a new project, I thought — I really should just put this on npm. So I finally did. What's in it budgie-console is a lightweight, zero-dependency Node.js console utility. Here's what it covers: Colored and s

Continue reading on Dev.to

Opens in a new tab

Read Full Article
2 views

Related Articles