1
2
3
4
5
6
7
8
9
import ValTown from "npm:@valtown/sdk";
const vt = new ValTown({ bearerToken: Deno.env.get("valtown") });
console.log(await vt.me.profile.retrieve());
console.log(await vt.blobs.list());
console.log(await vt.vals.runAnonymous({ code: "export const x = 1+1" }));