Tired of juggling Zod for validation, Lodash for utilities, and yet another package for error handling? Pithos TS brings it all together in one lightweight, zero-dependency library built for modern TypeScript.
It includes five tree-shakable modules — data utilities, schema validation, Result types, functional error handling, and migration tools — so you only ship what you actually use. No bloat, no dependency chain to worry about.
Performance matters too: Pithos validation benchmarks significantly faster than Zod, while keeping a developer-friendly API. Everything is fully typed, designed with TypeScript-first in mind.
On top of that, Pithos includes Taphos — a deprecation tracking system that tells you when a utility becomes obsolete and guides you toward the native equivalent, so your codebase stays modern without the guesswork.
The website (pithos.dev) is a resource on its own: browse equivalences between Pithos and other popular libraries, read detailed explanations for every utility — even if you don't use Pithos — and explore a use-case search engine to find the right tool for your specific need.
One install. Zero dependencies. Only the code you need.