1
2
3
4
5
import { rest_v1 } from "https://esm.town/v/nate/rest_v1";
export let current_vals = async (params) => {
return rest_v1("current_vals", params);
};
👆 This is a val. Vals are TypeScript snippets of code, written in the browser and run on our servers. Create scheduled functions, email yourself, and persist small pieces of data — all from the browser.