mirror of
https://github.com/LukeHagar/dub-node.git
synced 2025-12-06 04:19:37 +00:00
399 B
399 B
import { Dub } from "dub";
async function run() {
const sdk = new Dub({
token: "<YOUR_BEARER_TOKEN_HERE>",
workspaceId: "<value>",
});
const result = await sdk.links.list({
tagIds: ["<value>"],
});
// Handle the result
console.log(result);
}
run();