TypeScript Coffee

TypeScript Coffee

Welcome to TypeScript Coffee

Your source for the latest news in the TypeScript community

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 17 days ago
News Thumbnail

EasyPollVote [Dev Log #4]

Welcome to the Forth DEV LOG! Welcome to the forth Dev Log of my full stack application... Read More

Author Avatar FrancisTRᴅᴇᴠ (っ◔◡◔)っ 22 days 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 17 days ago
News Thumbnail

EasyPollVote [Dev Log #3]

Welcome to the Third DEV LOG! Welcome to the third Dev Log of my full stack application... Read More

Author Avatar FrancisTRᴅᴇᴠ (っ◔◡◔)っ a month ago
News Thumbnail

Function Calling Harness 2: CoT Compliance from 9.91% to 100%

TL;DR 9.91% is not "did the model get it right on the first try" — it's "did the model walk... Read More

Author Avatar Jeongho Nam 23 days 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 4 days ago
News Thumbnail

Building a Universal Drafts System in a VS Code Extension — Part 1: Types & Storage

How I designed the Draft type, DraftsService, and the save/upsert flow that powers DotShare... Read More

Author Avatar freerave a month 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 7 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 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 18 days ago
News Thumbnail

5 TypeScript Defaults That Quietly Changed in 2026 (And Why Your Build Is Now Broken)

TypeScript 6.0 flipped five tsconfig defaults. Each one is a tiny PR that bricks somebody's CI. Here is what changed, what it breaks, and the one-line fix. Read More

Author Avatar Gabriel Anhaia 21 days 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 16 days 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 3 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 20 days ago
News Thumbnail

Handling `unknown` in TypeScript… isn't it painful?

Hi there 👋 I'm a frontend engineer based in the Netherlands, currently suffering from hay fever... Read More

Author Avatar nyaomaru 25 days 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 2 days ago
News Thumbnail

@ttsc/lint - I made 20x faster TS Lint by building it into typescript-go — one compile catches both

TL;DR A typical TypeScript project runs tsc for type checking, then runs eslint again for... Read More

Author Avatar Jeongho Nam 22 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 5 days ago
News Thumbnail

I rewrote my auth library to run on Cloudflare Workers. Here is what broke.

Most TypeScript auth libraries assume Node.js. They reach for crypto.randomBytes, Buffer, the Node fs... Read More

Author Avatar GDS K S 23 days ago
News Thumbnail

Let the ORM fight begin!

Every few months, a new round of "which TypeScript ORM should we use?" breaks out — on team chats, on... Read More

Author Avatar Sebastian Schürmann 25 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 12 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 14 days ago
News Thumbnail

Intenté reproducir el caso OpenClaw en Claude Code: mi resultado contradice el post viral

El thread de HN decía que Claude Code bloqueaba o redirigía billing si OpenClaw aparecía en el historial Git. Armé un repo público, un harness reproducible y corrí la matriz. En Claude Code 2.1.126 no reproduje el bloqueo. Read More

Author Avatar Juan Torchia 22 days 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 16 days ago