1.5.0 • Published 1 year ago
linktree-parser v1.5.0
linktree-parser
Installation
NPM
npm install linktree-parserPNPM
pnpm add linktree-parserBUN
bun add linktree-parserExample
import { scrapeLinktreeAccount } from "linktree-parser";
const { account, error, raw } = await scrapeLinktreeAccount("harshmangalam");
if (error) {
console.error(error);
}
if (account) {
const { username, links, socialLinks, profilePictureUrl } = account;
}This project was created using bun init in bun v1.1.0. Bun is a fast all-in-one JavaScript runtime.