linktree-parser
TypeScript icon, indicating that this package has built-in type declarations

1.5.0 • Public • Published

linktree-parser

Installation

NPM

npm install linktree-parser

PNPM

pnpm add linktree-parser

BUN

bun add linktree-parser

Example

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.

Package Sidebar

Install

npm i linktree-parser

Weekly Downloads

7

Version

1.5.0

License

MIT

Unpacked Size

1.75 MB

Total Files

8

Last publish

Collaborators

  • harshdev