Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
Effects
for Val Town.
Easily create effect-based HTTP Vals.
import { Effect } from "npm:effect";
import * as Val from "https://esm.town/v/dvdsgl/val";
export default Val.http(req => Effect.gen(function*(){
return Response.json({ ok: true, love: "effect" });
}));