Snippets

Here are some useful code snippets. Feel free to copy and paste.

zod coerceArray

A function for transforming inputs into an array format.

zodvalidationtypescript
Read

© 2025 - Alexander Friesen