You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| 2025-03-04|6| zod |**0**|60 KB |_0_|**1**|**1**|**1**| 75 ms **1**|**1**|**1**|
41
41
42
42
Legend :
43
43
44
44
- Deps : the number of dependencies of the library
45
45
- Size : the minified build size in bytes of the related file in `src`, run `bun run build` to see by yourself
46
-
- Light : 1 point if the build is less than 10 KB, 1 bonus point if it's less than 5 KB
46
+
- Light : 1 point if the build is less than 10 KB
47
47
- Input : 1 point if the library can see that `age` is optional in the input but not optional in `type User` the output type
48
48
- Throw : 1 point if the library have a parse or throw method, useful when we don't want to handle the error cases
49
49
- Safe : 1 point if the library have a safe parse method that will not throw and usually return a `Result` type
50
-
- Execution : average time in milliseconds to execute the test file with bun, check the `bun run bench` command output
50
+
- Execution : 1 point if the average time in milliseconds to execute the test file with bun is under 100ms, check the `bun run bench` command output
51
51
- Fast : 1 point if the library execution time is less than 100 ms
52
+
- Readability : 1 point if the library is easy to write & read, the syntax need to be intuitive
52
53
53
54
## My favorite pick
54
55
55
-
Valibot is my favorite pick because it's fast as Zod but has a lighter impact on the bundle size.
56
+
Zod is my favorite pick because it's fast as Valibot but provide a better readability. Ok the build size is bigger but it does not impact the performance.
0 commit comments