Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
psadri
on Oct 9, 2024
|
parent
|
context
|
favorite
| on:
Zod: TypeScript-first schema validation with stati...
One thing to note about zod - it clones objects as it validates (parses) them. Eg z.array(z.object()) with an array of 10k objects will result in 10k cloned objects → slow.
molszanski
on Oct 9, 2024
[–]
I would suggest
https://arktype.io/
. Much faster on my project
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: