1
2
3
4
5
6
7
8
9
10
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) {
return updateValByName({
token: Deno.env.get("valtown"),
name,
code: compileCljsToES6(cljs),
});
}
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
February 26, 2024