Readme

This val is supposed to be used with the val.town extension. See the extension readme for installation instructions.

1
2
3
4
5
6
7
8
9
import { BrowserContext } from "https://esm.town/v/pomdtr/browser";
import { extractValInfo } from "https://esm.town/v/pomdtr/extractValInfo";
export default function(ctx: BrowserContext) {
const { author, name } = extractValInfo(ctx.tab.url);
ctx.copy(`[@${author}/${name}](${ctx.tab.url})`);
}
// #web
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 6, 2024