Skip to content

Aliases

GET /v1/alias/{username}

Get a user profile information by their username

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

GET /v1/alias/{username}/{val_name}

Get a val by the author’s username and val name

Example
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")
});