Readme

Convert a val reference into it's URL for viewing the code on val.town.

You can get a val reference by calling one of

1
2
3
4
export const refToValUrl = ({ userHandle, valName }: {
userHandle: string;
valName: string;
}) => `https://val.town/v/${userHandle}.${valName}`;
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!
v1
October 23, 2023