This is a simple example of how to integrate Effect with SvelteKit.
It allows to run Effects easily on your SvelteKit server.
The repo provides two main functions to run Effects server-side:
runLoader
runs an Effect on SvelteKit load functions and maps the result/error to a SvelteKit loader responserunAction
runs an Effect on SvelteKit form action and maps the result/error to a SvelteKit action responsenpm install
npm run dev