DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Cost per Task, Not Cost per Token: Build an LLM Cost Calculator in TypeScript

Cost per Task, Not Cost per Token: Build an LLM Cost Calculator in TypeScript

Comments 4
10 min read
Pin the Prompt: Safe Prompt Releases for a Tencent RTC Voice Companion

Pin the Prompt: Safe Prompt Releases for a Tencent RTC Voice Companion

1
Comments
10 min read
Evals for Agents: Did It Stay in Scope? Build a Tiny One in TypeScript

Evals for Agents: Did It Stay in Scope? Build a Tiny One in TypeScript

Comments 2
8 min read
How to Build an AI Employee With a Knowledge Graph (Not Just Another Agent)

How to Build an AI Employee With a Knowledge Graph (Not Just Another Agent)

2
Comments
5 min read
Learn Trapping Rain Water, Top K Frequent and Selection Sort with Step-by-Step Visualization in DSA View View 👀👀

Makes dry algorithms fun with cool visuals

Learn Trapping Rain Water, Top K Frequent and Selection Sort with Step-by-Step Visualization in DSA View View 👀👀

85
Picked as gem Comments 29
10 min read
Building a Client-Side DAG Runtime with Kahn's Algorithm

Building a Client-Side DAG Runtime with Kahn's Algorithm

Comments 2
9 min read
Zero Is Not an Empty Value in Financial Software

Zero Is Not an Empty Value in Financial Software

Comments
6 min read
Three AI features in a fitness app: on-device tool calling, pose analysis, and a coach that renders its own UI

Three AI features in a fitness app: on-device tool calling, pose analysis, and a coach that renders its own UI

1
Comments
12 min read
Migrating from Java to JavaScript/TypeScript? Here's how to map your stack

Migrating from Java to JavaScript/TypeScript? Here's how to map your stack

6
Comments
3 min read
MVCC Explained: Build Postgres-Style Snapshots in 100 Lines of TypeScript

MVCC Explained: Build Postgres-Style Snapshots in 100 Lines of TypeScript

Comments
12 min read
TDD With Coding Agents: Write the Rules, Then Check They Held

TDD With Coding Agents: Write the Rules, Then Check They Held

Comments 2
12 min read
The LLM Suggests; Code Decides: Building a Cost-Aware Router for Image and Video Models

The LLM Suggests; Code Decides: Building a Cost-Aware Router for Image and Video Models

2
Comments 1
6 min read
I shipped a dark mode hook. Then I found four bugs my own demo never hit.

I shipped a dark mode hook. Then I found four bugs my own demo never hit.

1
Comments
6 min read
From Correct to Polished: What Changed in Strokeline

From Correct to Polished: What Changed in Strokeline

Comments
6 min read
Who Made This Decision?

Who Made This Decision?

Comments 1
9 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.