TypeScript Coffee

TypeScript Coffee

Welcome to TypeScript Coffee

Your source for the latest news in the TypeScript community

News Thumbnail

Reviving a 12K+ Star Abandoned Library: toastr-next v3 🍞

This is a submission for the GitHub Finish-Up-A-Thon Challenge What I... Read More

Author Avatar Divyesh 5 days ago
News Thumbnail

I built a 200 line AI router in TypeScript. My monthly bill dropped 41%.

I track my own AI spend across three projects. In March, the line item that grew fastest was not... Read More

Author Avatar GDS K S a month ago
News Thumbnail

How to Stop AI Slop in Production: A Two-Layer Validator for LLM Output (2026)

A user reached out to us this week. Their generated newsletter contained the word delve. Twice. This... Read More

Author Avatar Dumebi Okolo a month ago
News Thumbnail

API Calls Done Right: From Messy Fetch to Clean Data Layer

I've seen this file in almost every frontend project I've ever touched. It's usually called api.js... Read More

Author Avatar Gavin Cettolo 13 days ago
News Thumbnail

Next.js 16 Broke My App in 4 Places and None of Them Threw an Error

The CI was green. Build passed. No TypeScript errors. No warnings. Everything looked clean. I... Read More

Author Avatar Shubhra Pokhariya 5 days ago
News Thumbnail

Why My Analytics Was Logging Every Page Visit Twice (And How I Fixed It)

I built a custom analytics system into my portfolio backend — a Django REST API that records page... Read More

Author Avatar Vicente G. Reyes 15 hours ago
News Thumbnail

Which OpenAPI Codegen Should You Choose? openapi-typescript vs hey-api vs Orval vs Kubb

Hoi hoi! I'm @nyaomaru, a frontend engineer who thought OpenAPI codegen would make API clients... Read More

Author Avatar nyaomaru 12 days ago
News Thumbnail

Why I Didn’t Let AI Handle My Scroll Animation: Astro, React, and TypeScript Architecture

Hoi hoi! I'm @nyaomaru, a frontend engineer who once panicked because I triggered a fire alarm while... Read More

Author Avatar nyaomaru 25 days ago
News Thumbnail

I Built a Desktop App That Ends My “Open 7 Terminals and Pray” Routine

Every developer has that one painfully stupid ritual. Mine was opening multiple terminal tabs every... Read More

Author Avatar TROJAN 16 days ago
News Thumbnail

Kimi K2.6 vs. Claude Opus 4.7 in a Weird Game Coding Test âś…

Kimi K2.6 has been getting a lot of love lately, especially from devs who want a strong coding model... Read More

Author Avatar Shrijal Acharya a month ago
News Thumbnail

How I Built a Whiteboard App with 3 Dependencies

The Problem Every whiteboard app I tried wanted me to sign up, sync to the cloud, or load... Read More

Author Avatar maomaoguai 25 days ago
News Thumbnail

AI Deleted My Tests and Said 'All Tests Pass' — A Horror Story from Porting 'typia' from TypeScript to Go

TL;DR The job. Take typia's existing TS files, translate the contents line by line into... Read More

Author Avatar Jeongho Nam a month ago
News Thumbnail

7 Next.js 16 Caching Bugs That Compile Fine and Break Silently in Production

I lost hours debugging a Next.js 16 caching issue that had no error, no warning, and only showed up... Read More

Author Avatar Shubhra Pokhariya 11 days ago
News Thumbnail

Build your first MCP server in TypeScript: the 2026 setup that takes 30 minutes.

Build your first MCP server in TypeScript: the 2026 setup that takes 30 minutes. I had... Read More

Author Avatar GDS K S 6 days ago
News Thumbnail

We Are Leaving Bun… For Now

For the past two years, Bun has been one of the most exciting technologies in our stack. Fast... Read More

Author Avatar Jhon Caldeira 14 days ago
News Thumbnail

Building MCP Servers in TypeScript That Don't Fall Apart

A post by Mudassir Khan Read More

Author Avatar Mudassir Khan 8 days ago
News Thumbnail

I was sick of InversifyJS after 3 years in production, so I built a better DI container

Three years. That's how long we ran InversifyJS in production at a medium-sized Typescript SaaS. It... Read More

Author Avatar Ayoub Chrigui 21 days ago
News Thumbnail

Stop building AI inboxes. Build decision layers instead.

I spent six months building an AI-powered email tool. Then I deleted half of it. Not because the... Read More

Author Avatar yongrean 7 days ago
News Thumbnail

I built a 20 kB React hook that doesn't care which AI you use — here's how streaming actually works

`--- Most React AI chat libraries are secretly backend libraries. They stream directly from... Read More

Author Avatar devleo 23 days ago
News Thumbnail

Clipboard API falla en TypeScript: los 4 casos que nadie documenta y cómo los encontré en mi código

navigator.clipboard.writeText parece trivial hasta que tu app falla en producción sin error visible. Encontré 4 casos que los docs no mencionan: contexto inseguro, foco perdido, permisos revocados en iOS y el timing de React. Acá están los patrones reales con código copiable. Read More

Author Avatar Juan Torchia 24 days ago
News Thumbnail

Kimi K2.6 vs Claude vs GPT-5.5: lo puse contra mis casos reales de coding y los nĂşmeros me sorprendieron

El hype dice que Kimi K2.6 venció a Claude y GPT-5.5 en coding. Lo corrí contra mi propio codebase — no contra HumanEval cherry-picked — y lo que encontré cambia la pregunta que deberías estar haciendo. Read More

Author Avatar Juan Torchia a month ago
News Thumbnail

Two billing bugs that looked fine until production proved otherwise

Billing code is the most dangerous place to have subtle bugs. It rarely crashes — it just silently... Read More

Author Avatar nareshipme a month ago
News Thumbnail

Guardrails reales para agentes autónomos después de que uno casi me destruye la infra

Después de que un agente autónomo casi me borra la base de datos de producción, implementé una capa de guardrails real. Acá están los controles, el código y los logs que me salvaron el cuero. Read More

Author Avatar Juan Torchia 25 days ago
News Thumbnail

Mathematically Prohibiting 'Cheating' in On-Chain RPS: A Midnight ZK dApp Case Study

Introduction Implementing Rock-Paper-Scissors (RPS) on-chain is surprisingly tricky. The... Read More

Author Avatar Haruki Kondo a month ago