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-04-27 | 2 | ArkType | 2 | 148 KB |_0_|**1**|**1**|_0_|**1**| 878 ms _-1_| 715 ms _-1_|_0_|**1**|
41
+
| 2025-04-27 | 1 | Suretype | 3 | 195 KB |_0_|_0_|_0_|**1**|**1**| 2477 ms _-1_| 2312 ms _-1_|_0_|**1**|
42
+
| 2025-04-27 | 8 | Valibot |**0**| 6 KB |**1**|**1**|**1**|**1**|**1**| 69 ms **1**| 8 ms **1**|**1**|_0_|
43
+
| 2025-04-27 | 4 |@zod/mini| 1 | 22 KB |**1**|**1**|_0_|**1**|**1**| 211 ms _0_| 135 ms _0_|_0_|_0_|
44
+
| 2025-04-27 | 8 | Zod v3 |**0**| 60 KB |_0_|**1**|**1**|**1**|**1**| 100 ms **1**| 32 ms **1**|**1**|**1**|
45
+
| 2025-04-27 | 5 | Zod v4 | 1 | 49 KB |_0_|**1**|**1**|**1**|**1**| 224 ms _0_| 146 ms _0_|_0_|**1**|
44
46
45
47
Legend :
46
48
47
49
- Deps : the number of dependencies of the library
48
-
- Size : the minified build size in bytes of the related file in `src`, run `bun run build` to see by yourself
50
+
- Size : the minified build size in kilobytes of the related`.ts` file in `src`, run `bun run build` to see by yourself
49
51
- Light : 1 point if the build is `<= 20 KB`
50
-
- Input A : 1 point if the library can see that `age` is `optional, number` in the input but `not optional, number` in `type User` the output type
51
-
- Input B : 1 point if the library can see that `phone` is `optional, string or number` in the input but `not optional, string` in `type User` the output type
52
+
- Input A : 1 point if the library can see that `age` is `optional, number` in `type UserInput` but `not optional, number` in `type User` the output type
53
+
- Input B : 1 point if the library can see that `phone` is `optional, string or number` in `type UserInput` but `not optional, string` in `type User` the output type
52
54
- Throw : 1 point if the library have a parse or throw method, useful when we don't want to handle the error cases
53
55
- Safe : 1 point if the library have a safe parse method that will not throw and usually return a `Result` type
54
56
- Script exec : 1 point if the average time in ms to execute the test file with bun is `<= 100ms`, check the `bun run bench` command output
"check:once": "bun src/arktype.ts && bun src/suretype.ts && bun src/valibot.ts && bun src/zod-mini.ts && bun src/zod3.ts && bun src/zod4.ts && echo check:once success",
0 commit comments