DEV Community

TypeScript

Optional static type-checking for JavaScript.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Chunking Markdown in TypeScript: 5 Strategies and What Each Breaks

Chunking Markdown in TypeScript: 5 Strategies and What Each Breaks

Comments
6 min read
Cost Ceilings in Node: Killing an Agent Loop Before It Kills the Budget

Cost Ceilings in Node: Killing an Agent Loop Before It Kills the Budget

Comments
5 min read
pgvector from Node.js: Indexes, Pools, and the Query That Times Out

pgvector from Node.js: Indexes, Pools, and the Query That Times Out

Comments
6 min read
Parallel Tool Calls in Node: Promise.all, Rate Limits, Partial Failure

Parallel Tool Calls in Node: Promise.all, Rate Limits, Partial Failure

Comments
5 min read
LangGraph.js vs a While Loop: When the Graph Earns Its Complexity

LangGraph.js vs a While Loop: When the Graph Earns Its Complexity

Comments
5 min read
The Observability You Need Before Your First 1,000 AI Users

The Observability You Need Before Your First 1,000 AI Users

Comments
5 min read
Your First Eval Suite in TypeScript (Vitest, Not a Notebook)

Your First Eval Suite in TypeScript (Vitest, Not a Notebook)

Comments
5 min read
Checkpointing Multi-Step Agents in Node So a Crash Doesn't Cost You

Checkpointing Multi-Step Agents in Node So a Crash Doesn't Cost You

Comments
5 min read
Streaming LLM Responses in Node Without Breaking Backpressure

Streaming LLM Responses in Node Without Breaking Backpressure

Comments
5 min read
Guardrails in TypeScript: Input Validation, Output Filters, Refusal Paths

Guardrails in TypeScript: Input Validation, Output Filters, Refusal Paths

Comments
5 min read
JSON Mode vs Structured Output vs Zod Parsing: Which Guarantees Shape

JSON Mode vs Structured Output vs Zod Parsing: Which Guarantees Shape

Comments
5 min read
LangGraph.js in Practice: Nodes, Edges, and State That Actually Persists

LangGraph.js in Practice: Nodes, Edges, and State That Actually Persists

Comments
5 min read
Your First AI Agent in TypeScript Without a Framework

Your First AI Agent in TypeScript Without a Framework

Comments
5 min read
Idempotent Tools in Node: Safe Retries When the Model Calls Twice

Idempotent Tools in Node: Safe Retries When the Model Calls Twice

Comments
6 min read
Caching Embeddings in Node: A 60-Line Layer That Cuts the Bill

Caching Embeddings in Node: A 60-Line Layer That Cuts the Bill

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