Browsing Tag
javascript
1720 posts
A Countdown Tracker That Handles DST, Timezones, and Calendar-Day Math Correctly
A Countdown Tracker That Handles DST, Timezones, and Calendar-Day Math Correctly “Days between two dates” sounds trivial, but…
I Built a JSON Fixer Because I Was Tired of Counting Characters
JSON.parse() gives you an error at “position 42”. Great. Position 42 of a 500-line config file. Let me…
TypeScript Utility Types That Actually Save Time in Production SaaS Code
TypeScript’s built-in utility types are in every cheatsheet but rarely explained in context. Here’s how they appear in…
The Vercel Bill Conversation Every Startup Avoids (Until It’s Too Late)
Our team was shocked when we received a $4,700 Vercel bill. The architecture we had set up was…
M||D||JS = MorDorJS
This is a submission for the DEV April Fools Challenge What I Built Everybody knows that productivity is…
🚫 Stop Writing Old JavaScript — ✅ Start Using Modern Built-in APIs (Part 2)
Missed Part 1? [Read it here] — covers structuredClone, Object.groupBy, AbortController, Promise.any, and more. 🧩 More Modern APIs…
I built a JS framework with zero dependencies. Here’s why
In March 2026, the axios maintainer’s npm account got hijacked. 300 million weekly downloads. One compromised account. That’s…
State Machines + Motion Tokens: Building a Localised Chatbot with dotLottie
Live demo: Localised Chat Bot on CodePen Two things make chatbot animations annoying to build. The first is…
The most powerful patterns in TypeScript, Discriminated Unions
=== Most useful in cases where you have known result with list of known attribute value. TypeScript will…
The Documentation Attack Surface: How npm Libraries Teach Insecure Patterns
Most security audits focus on code. But across five reviews of high-profile npm libraries — totaling 195 million…