get-past-sponsors
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

get-past-sponsors

The new Sponsors Profile is released that includes the past sponsors. But we can't get the past sponsors from the API.

💰 Simple script to get the past sponsors.

Installation

pnpm install get-past-sponsors

Usage

import getPastSponsors from "get-past-sponsors";

await getPastSponsors('dohooo')
.then(sponsors=>{
  console.log(sponsors)
})
.catch(e=>{
  console.error(e)
})

Types

interface IUser {
    username: string
    avatar: string
}

getPastSponsors(username: string): Promise<IUser[]>

Sponsors

License

MIT License © 2022 Dohooo

Readme

Keywords

none

Package Sidebar

Install

npm i get-past-sponsors

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

5.58 kB

Total Files

5

Last publish

Collaborators

  • caspian.zhao