@nvie.comChris Nicholas @chrisnicholas.dev
2026-03-02 17:09 UTC
Zod isn't the only option. Our team uses decoders, built by the wonderful @nvie.com. We find it's: • Easier to read, as it looks like TypeScript. • Quicker to debug, with its human-readable error messages. • Lighter to ship, with tree-shaking and smaller bundles. Learn more ↓
1 picture (not shown on this phone): import { array, iso8601, … } from "decoders"; const userDecoder = object({ id: number, name: string, createdAt: optiona…
9 likes, 4 reposts, 1 replies
3 Next post4 More from @chrisnicholas.devBackBluesky home