Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muni-town/linktree-parser
linktree-parser is a TypeScript library for scraping and extracting account, links, banners, and metadata from Linktree profiles.
https://github.com/muni-town/linktree-parser
bun deno javascript-library linktree nodejs parser scraper typescript-library webscraping
Last synced: 23 days ago
JSON representation
linktree-parser is a TypeScript library for scraping and extracting account, links, banners, and metadata from Linktree profiles.
- Host: GitHub
- URL: https://github.com/muni-town/linktree-parser
- Owner: muni-town
- License: mit
- Created: 2024-09-11T08:12:28.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-12T06:31:34.000Z (about 2 months ago)
- Last Synced: 2024-10-01T07:20:15.283Z (about 1 month ago)
- Topics: bun, deno, javascript-library, linktree, nodejs, parser, scraper, typescript-library, webscraping
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/linktree-parser
- Size: 25.4 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# linktree-parser
### Installation
#### NPM
```bash
npm install linktree-parser
```#### PNPM
```bash
pnpm add linktree-parser
```#### BUN
```bash
bun add linktree-parser
```### Example
```ts
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](https://bun.sh) is a fast all-in-one JavaScript runtime.