safe-fn
SafeFn is a library to easily build **fully** typed functions with validated input and output, procedure chaining, callbacks and more. This is ideal for functions that are at the edge of your applications, like Server Actions!
use-safe-server-action
A React hook for safely handling server actions with loading, success, and error states.