Back

Version 45

2/26/2024
import { compileCljsToES6 } from "https://esm.town/v/liamdanielduffy/compileCljsToES6";
import { updateValByName } from "https://esm.town/v/nbbaier/updateValByName";

export async function createValFromCljs(name: string, cljs: string) {
console.log(name);
await updateValByName({
token: Deno.env.get("valtown"),
name,
code: compileCljsToES6(cljs),
});
}
Updated: February 26, 2024