107 downloads in 12 hours 🧙♂️ A few hours ago I announced date-wiz — my open-source TypeScript date utility library. Today I’m sharing the first real milestone: 107 downloads in the first 12 hours after publishing to npm. Small number? Maybe. But it means real developers installed something I built from scratch — and that matters a lot to me. 🔧 What makes date-wiz different: • Zero runtime dependencies — purely native Date and Intl APIs • Under 2 KB gzipped — lighter than Day.js, far lighter than Moment.js • TypeScript-native — full type safety, no @types/ package needed • Tree-shakable ESM — import only format() and ship ~1.2 KB • Business day logic built-in — no plugins • Smart formatting — "Today at 4:30 PM", "Yesterday at 11 AM", "Oct 12, 2022" • Intelligent parsing — understands +2d, next_monday, 15-05-2024 with no format string • Full i18n — 100+ locales via native Intl, zero locale files bundled • 107 tests, 100% function coverage I also built a full documentation site with Astro + Starlight — complete API reference, guides, React/Next.js examples, and more. If you work with dates in JavaScript or TypeScript, I’d love for you to try it and share your feedback. 📦 npm → npmjs.com/package/date-wiz 📖 Docs → https://lnkd.in/gSNHBwqU 🐛 Issues / PRs welcome → https://lnkd.in/gfryWutd #TypeScript #JavaScript #OpenSource #npm #WebDevelopment #SoftwareEngineering
Date Utility Library Reaches 107 Downloads in 12 Hours
More Relevant Posts
-
253 downloads in 3 days. 🎯 Honestly didn't expect this when I published @gouranga_samrat/log-wiz to npm last week. For those who missed the first post — log-wiz is an ultra-lightweight Node.js & Browser logger I built from scratch with: 🔒 Automatic PII masking (password, token, secret... auto-redacted. No config needed.) ⚡ < 1.5 KB gzipped for browser 0️⃣ Zero runtime dependencies 📁 Daily file rotation built-in 🌐 Works in Node.js AND browser 💪 Full TypeScript support The thing that seems to resonate most? The PII masking. Every developer has shipped a bug to production and later realized their logs were full of passwords, tokens, or card numbers. log-wiz just... handles it. Before the data ever touches a transport. We also just launched the full documentation site 👇 🌐 https://lnkd.in/g-7EBk7E It covers everything — getting started, all config options, transport setup, browser usage, architecture deep-dive, and a full API reference. If you're still using console.log in production, this is for you. npm install @gouranga_samrat/log-wiz Feedback, stars, and brutal honesty all welcome. 🙏 📦 https://lnkd.in/giaAC5Ac ⭐ https://lnkd.in/gBNajC-Y #nodejs #typescript #opensource #javascript #npm #webdevelopment #softwaredevelopment #programming #developer #100daysofcode
To view or add a comment, sign in
-
-
253 downloads in 3 days. 🎯 Honestly didn't expect this when I published @gouranga_samrat/log-wiz to npm last week. For those who missed the first post — log-wiz is an ultra-lightweight Node.js & Browser logger I built from scratch with: 🔒 Automatic PII masking (password, token, secret... auto-redacted. No config needed.) ⚡ < 1.5 KB gzipped for browser 0️⃣ Zero runtime dependencies 📁 Daily file rotation built-in 🌐 Works in Node.js AND browser 💪 Full TypeScript support The thing that seems to resonate most? The PII masking. Every developer has shipped a bug to production and later realized their logs were full of passwords, tokens, or card numbers. log-wiz just... handles it. Before the data ever touches a transport. We also just launched the full documentation site 👇 🌐 https://lnkd.in/gWNviskY It covers everything — getting started, all config options, transport setup, browser usage, architecture deep-dive, and a full API reference. If you're still using console.log in production, this is for you. npm install @gouranga_samrat/log-wiz Feedback, stars, and brutal honesty all welcome. 🙏 📦 https://lnkd.in/gFf75Ts5 ⭐ https://lnkd.in/gZyhQdwn #nodejs #typescript #opensource #javascript #npm #webdevelopment #softwaredevelopment #programming #developer #100daysofcode
To view or add a comment, sign in
-
-
Excited to announce west-js-app v3.1.0 🎉 I've been building west-js-app — an open-source CLI that scaffolds a production-ready Express + TypeScript backend in seconds. Think of it as `create-react-app`, but for your Node.js backend. With a single command: $ npx west-js-app ...you get a fully configured project with your choice of ORM (Prisma, Drizzle, TypeORM, Mongoose), database, Docker setup, Zod validation, Pino logging, ESLint, Prettier, and Husky pre-commit hooks — all wired up from day one. Version 3.1.0 brings the most requested feature yet: Vitest support ⚡ Here's what's new: • Vitest is now available as an alternative to Jest for unit and integration testing • New --test-framework flag lets you choose between jest, vitest, or none during scaffolding • Tests are only generated when a framework is selected — no clutter if you don’t need it • Improved Jest compatibility on Windows (no extra tooling required) • Boilerplate templates now include explicit Vitest imports for better IDE support Vitest is now the recommended choice for performance-critical projects — it’s faster, native to ESM, and feels right at home alongside modern TypeScript toolchains. If you’re tired of spending the first few hours of every project configuring boilerplate, give west-js-app a try. It’s open source, zero runtime dependency, and you own all the generated code. 🔗 westjs.vishalvoid.com 📦 npm: npx west-js-app ⭐ GitHub: https://lnkd.in/ge5w3peV #OpenSource #NodeJS #ExpressJS #TypeScript #Vitest #BackendDevelopment #DeveloperTools #WebDevelopment
To view or add a comment, sign in
-
-
🚀 Published my first tech blog on Hashnode! I’ve written a short and crisp guide on npm vs npx, something that confuses almost every beginner (including me at one point). In this blog, I’ve explained: * What npm and npx actually do * When to use each * Common mistakes developers make Kept it simple, practical, and straight to the point. 🔗 Read here: https://lnkd.in/grrfsi6Z This is just the start, planning to share more around web development, system design, and real-world learning. #WebDevelopment #JavaScript #NodeJS #Hashnode #LearningInPublic #SoftwareEngineering
To view or add a comment, sign in
-
Ever notice your search bar firing an API call on every keystroke? Type “react” and that’s 5 requests. Type a sentence and your network tab cries. The fix is a tiny React hook called useDebounce. It waits until the user stops typing, then returns the final value. One render. One request. Done. No libraries. No dependencies. Drop it into any search input, filter, or autosave field. Snippet here: https://lnkd.in/gHDtaUtJ What React hook do you reach for in every project? #ReactJS #JavaScript #WebDevelopment #ReactHooks #FrontendDevelopment
To view or add a comment, sign in
-
Completed Episode 2 "Js on Server"of Namaste Node.js season -1 #NamasteNodejs by Akshay Saini 🚀 where learned about server, v8 engine.... 💻 What is a Server? A server is a remote computer that provides data and services to other computers (clients). Client Request 📩 → Server Processing ⚙️ → Response 📦 🌍 What is an IP Address? An IP address is a unique identity for every device on the internet ,Just like a home address, but for computers. ⚡ How JavaScript Came to Servers Earlier, JavaScript only worked inside browsers Then came Node.js - 👉 Now JavaScript runs on servers too 👉 Same language for frontend + backend = efficiency 🧠 V8 Engine • Converts JavaScript into machine code • Executes code at high speed • Uses JIT (Just-In-Time compilation) 💪🏻 Why Node.js is powerful? V8 alone can't Access database and make API calls But Node.js adds superpowers: ✅ File system access ✅ API handling ✅ Database connectivit #JavaScript #NodeJS #Backend #WebDevelopment #LearningInPublic #TechJourney #WebDevelopment #ReactJS #NodeJS #FullStackDeveloper #WebDevelopment #FrontendToBackend #JavaScript #CodingJourney #DeveloperLife #SoftwareDeveloper #TechJourney #LearningInPublic #NamasteNodeJS #CodeNewbie #ProgrammerLife #DevCommunity #BuildInPublic #CodingDaily #WebDev #MERNStack #APIDevelopment #ServerSide #TechLearning #FutureDeveloper #AkshaySaini
To view or add a comment, sign in
-
-
Just published my first npm package! Introducing "typed-env" — a lightweight, type-safe environment variable validator for Node.js & TypeScript. 💡 Problem: Working with process.env is error-prone: - Missing variables - Wrong types - Runtime crashes ✅ Solution: typed-env validates and types your environment variables at startup — no surprises later. ✨ Features: - Type-safe env variables - Runtime validation - Enum support (e.g. NODE_ENV) - Zero dependencies ⚡ Example code: const env = createEnv({ PORT: "number", NODE_ENV: ["development", "production"], }); 🔗 Check it out: https://lnkd.in/gZtPUQUF #javascript #typescript #nodejs #opensource #webdevelopment
To view or add a comment, sign in
-
-
TypeScript 6.0 just shipped. It's the last version built on JavaScript. Microsoft released TypeScript 6.0 on March 23rd, and this one isn't a routine update. It's the final release using the original JavaScript-based compiler. TypeScript 7.0, rewritten in Go, is already in native preview. This is the transition release. But here's what caught my attention: the defaults changed aggressively. Strict mode is now on by default. The module system defaults to esnext instead of commonjs. The target defaults to ES2025. And the types array now defaults to empty, which means if you don't explicitly list "node" or "jest" in your tsconfig, you'll get "Cannot find module" errors on upgrade. That last one will bite a lot of teams. Previously TypeScript auto-enumerated type packages. Now you have to declare them. The upside is 20-50% faster build times, but the migration cost isn't zero. There's a long deprecation list too: target es5 is gone, moduleResolution "node" (the old node10 mode) is deprecated, and esModuleInterop can't be turned off anymore. If you're still shipping CommonJS with import-star syntax, that breaks. Before upgrading, audit your tsconfig. Set types, rootDir, and moduleResolution explicitly. Use "ignoreDeprecations": "6.0" if you need breathing room, but don't sit on it. 7.0 won't honor that flag. #TypeScript #WebDevelopment #DeveloperTools https://lnkd.in/etZuHWJa
To view or add a comment, sign in
-
🚀 Practicing React by building a User Management System Recently, I’ve been practicing React by building a small project where I implemented: 1. Add User 2. Edit User 3. Delete User 4. Form validation using React Hook Form 5. Data persistence using localStorage While practicing, I ran into multiple bugs and learned a lot by debugging them 💥 Key Learnings: 🔹 State is asynchronous I was saving data to localStorage using old state, which resulted in empty arrays ([]). * Fixed it by saving the updated array instead of the old state. 🔹 Immutability matters While updating a user, I forgot to return inside .map() which broke the state. * Learned that state updates must always return a new array. 🔹 Avoid nested arrays I mistakenly did [users, newUser] instead of [...users, newUser] * This caused unexpected UI behavior. 🔹 Functional updates are safer Using: setUsers(prev => [...prev, newUser]) is more reliable than directly using state. 🔹 Attention to small details Even small mistakes like using a string instead of RegEx in validation can break logic. github : https://lnkd.in/gZNF6pxu #ReactJS #FrontendDevelopment #JavaScript #LearningInPublic #WebDevelopment
To view or add a comment, sign in
-
Why I can't go back to "Plain" JavaScript 🛡️ Once you experience end-to-end type safety with Zod and TypeScript, shipping plain JS feels like driving without a seatbelt. Today, the real win is shared types between the Node backend and React frontend. When a DB schema changes, your frontend should red-line immediately, not crash in production. It’s about catching bugs at 2 PM during dev, not 2 AM on a Saturday. https://buff.ly/pRJeG3R #TypeScript #FullStack #WebDev #BugPrevention
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development