pastelsky / bundlephobia

🏋️ Find out the cost of adding a new frontend dependency to your project
https://bundlephobia.com
MIT License
8.89k stars 221 forks source link

Package suggestion: valibot for `JSON schema validation` #813

Open StudioSpindle opened 1 year ago

StudioSpindle commented 1 year ago

Valibot

Alternative to

zod (npm source)

Quality check

The package is quite new, and actively maintained. Has 3,839 weekly downloads at this time of writing (npm source).

One benefit of valibot is that it's more tree shakeable (Matt Pocock's review).

Only point I'm not sure about at this time is the amount of overlap. Valibot is quite new and zod seems to have more functionality. But it seems to be an alternative to zod.

Any thoughts?