Skip to content

Aliases

GET /v1/alias/{username}

ExampleRun in Val Town ↗
import { alias } from "https://esm.town/v/neverstew/alias";
export let aliasExample = alias({
username: "stevekrouse",
});

GET /v1/alias/{username}/{handle}

ExampleRun in Val Town ↗
import { alias } from "https://esm.town/v/neverstew/alias";
export const aliasValExample = alias({
username: "stevekrouse",
valName: "parentReference",
// for private vals, pass your val town api token
// token: Deno.env.get("valtown")
});