Measures the (tree shaken) size of a schema and validation defined with each library.
This will have a direct correlation with download time.
| Library | Version | Downloads (/wk) | Uncompressed | Gzipped | Time | ||
|---|---|---|---|---|---|---|---|
@railway-ts/pipelines | 0.1.27 | 34 | 4.03 KB | 1.52 KB | 2 ms | ||
typia | 12.0.2 | 259.06K | 7.71 KB | 1.65 KB | 2 ms | ||
superstruct | 2.0.2 | 4.02M | 4.79 KB | 1.9 KB | 3 ms | ||
valibot | 1.3.1 | 7.93M | 6.18 KB | 1.91 KB | 3 ms | ||
decoders | 2.9.3 | 38.55K | 7.98 KB | 3.08 KB | 4 ms | ||
io-ts | 2.2.22 | 2.92M | 12.23 KB | 3.51 KB | 5 ms | ||
runtypes | 7.0.4 | 279.42K | 15.22 KB | 4.68 KB | 6 ms | ||
zod/mini | 4.3.6 | 151.14M | 15.79 KB | 5.13 KB | 7 ms | ||
typebox (schema) | 1.1.23 | 277.92K | 41.22 KB | 12.06 KB | 16 ms | ||
zod/v3 | 4.3.6 | 151.14M | 55.56 KB | 12.62 KB | 17 ms | ||
yup | 1.7.1 | 10.79M | 41.12 KB | 12.77 KB | 17 ms | ||
sury | 11.0.0-alpha.4 | 146.04K | 37.95 KB | 13.12 KB | 18 ms | ||
sury (compile) | 11.0.0-alpha.4 | 146.04K | 38.4 KB | 13.3 KB | 18 ms | ||
zod/v3 (default) | 4.3.6 | 151.14M | 58.49 KB | 13.71 KB | 19 ms | ||
typebox (schema + compile) | 1.1.23 | 277.92K | 57.04 KB | 16.5 KB | 23 ms | ||
zod | 4.3.6 | 151.14M | 61.42 KB | 16.57 KB | 23 ms | ||
@sapphire/shapeshift | 4.0.0 | 629.44K | 74.67 KB | 17.62 KB | 24 ms | ||
effect@beta | 4.0.0-beta.46 | 9.44M | 59.73 KB | 19.16 KB | 26 ms | ||
ata-validator | 0.8.0 | 728 | 102.17 KB | 21.08 KB | 29 ms | ||
typebox (namespace) | 1.1.23 | 277.92K | 89.41 KB | 24.72 KB | 34 ms | ||
typebox | 1.1.23 | 277.92K | 116.58 KB | 30.43 KB | 42 ms | ||
typebox (namespace + compile) | 1.1.23 | 277.92K | 110.41 KB | 30.44 KB | 42 ms | ||
typebox (compile) | 1.1.23 | 277.92K | 137 KB | 36 KB | 49 ms | ||
ajv | 8.18.0 | 259.98M | 135.18 KB | 37.98 KB | 52 ms | ||
arktype | 2.2.0 | 885.45K | 149.01 KB | 44.58 KB | 61 ms | ||
joi | 18.1.2 | 18.74M | 170.12 KB | 52.78 KB | 72 ms | ||
zod (default) | 4.3.6 | 151.14M | 255.76 KB | 58.05 KB | 79 ms | ||
effect | 3.21.0 | 9.44M | 192.73 KB | 58.46 KB | 80 ms |