Hacker News new | ask | show | jobs
by rafram 401 days ago
https://bundlephobia.com/package/arktype@2.1.20: 38.3 KB

https://bundlephobia.com/package/zod@3.24.4: 64.3 KB

https://bundlephobia.com/package/valibot@1.1.0: 84.1 KB

1 comments

These numbers don't reflect anything useful. This is the total size of the code in the package, most of which will be tree-shaken. In Zod's case, the package now contains three independent sub-libraries. I recommend plugging a script into bundlejs.com[0] to see bundle size numbers for a particular script

[0] https://bundlejs.com