🚀 Just published my first npm package — date-buddy! 🎉 date-buddy is a lightweight, dependency-free JavaScript library that makes working with dates and time more human-friendly. It includes simple and useful functions like: • timeAgo(date) → “3 days ago” • timeUntil(date) → “in 2 weeks” • formatDate(date) → “October 29, 2025” • formatDateWithDay(date) → “Wednesday, October 29, 2025” I built this to explore how npm publishing works and to create something small yet genuinely helpful for JavaScript developers. 💡 Thinking to add more useful date/time helpers in future versions! Check it out here 👇 🔗 https://lnkd.in/gKFr6uZ2 #JavaScript #NodeJS #OpenSource #NPM #WebDevelopment #Coding #Developer

Is it not available on dayjs and and date-fns? Although your one might be more lightweight as less built-in features.

Like
Reply

To view or add a comment, sign in

Explore content categories