DGDevTools Guideindevtoolsguide.hashnode.dev·Mar 4 · 5 min readZod: TypeScript-First Schema Validation for Any RuntimeTypeScript gives you static type checking at compile time. Zod solves the complementary problem: validating data at runtime that comes from outside TypeScript's control — HTTP request bodies, API responses, environment variables, user input, and conf...00
DGDevTools Guideindevtoolsguide.hashnode.dev·Mar 4 · 5 min readWezTerm: A GPU-Accelerated Terminal Configured in LuaWezTerm is a terminal emulator that takes the approach that your terminal should be as configurable as your text editor — using code, not a settings panel. Configuration is written in Lua, every behavior is programmable, and the multiplexer (tabs, pa...00
DGDevTools Guideindevtoolsguide.hashnode.dev·Mar 4 · 5 min readVitest: Fast Unit Testing for Vite-Based JavaScript ProjectsJest has been the default JavaScript test runner for years. But it was designed for CommonJS and requires significant configuration to handle modern ESM, TypeScript, and Vite projects. Vitest was built from the start for the modern JavaScript ecosyst...00
DGDevTools Guideindevtoolsguide.hashnode.dev·Mar 4 · 4 min readTypeSpec: API Design Before CodeMost teams design APIs one of two ways: write code first and extract OpenAPI from annotations, or write OpenAPI YAML directly and generate types from it. Both have the same problem — you end up maintaining two things (schema + code) that need to stay...00
DGDevTools Guideindevtoolsguide.hashnode.dev·Mar 4 · 7 min readtRPC: End-to-End Type-Safe APIs Without the CeremonytRPC: End-to-End Type-Safe APIs Without the Ceremony Most API architectures have a type safety gap: your backend has TypeScript types, your frontend has TypeScript types, but the wire between them is untyped. You maintain REST endpoints, write OpenAP...00