Skip to content

linktree-parser is a TypeScript library for scraping and extracting account, links, banners, and metadata from Linktree profiles.

License

Notifications You must be signed in to change notification settings

muni-town/linktree-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

linktree-parser is a TypeScript library for scraping and extracting account, links, banners, and metadata from Linktree profiles.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published