Type-safe data decoding and encoding for the minimalist.
npm install tiny-decodersType-safe data decoding and encoding for the minimalist.
It’s similar to zod/mini, but simpler. tiny-decoders is a single file, around a thousand lines of TypeScript, with rather trivial functions and a few kinda nuts TypeScript types. Unlike Zod, there are no date parsing or email validation functions or anything like that. Just decoders and encoders for all basic TypeScript types.