{"repo":"warengonzaga/buymeacoffee.js","free":true,"listed":false,"github":"https://github.com/warengonzaga/buymeacoffee.js","clone":"git clone https://github.com/warengonzaga/buymeacoffee.js.git","description":"Simple and lightweight community contributed JavaScript SDK for Buy Me a Coffee REST API. 💻☕⚡","language":"TypeScript","stars":64,"topics":["coffee","buymeacoffee","api","api-client","api-rest","api-wrapper","javascript","warengonzaga","nodejs","nodejs-api"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"BuyMeaCoffee.JS A simple and lightweight community-made Bun-first client for the Buy Me A Coffee API with Node.js compatibility . ⚡ Features - Bun-first developer experience - TypeScript typings included - Supporters, subscriptions, and extras endpoints - Pagination and subscription status filters - By-id lookup methods for documented read endpoints - Supports Bun and Node.js 📦 Installation 🧩 Usage Method Examples Error Handling API Surface Method Description --- --- Supporters() Get the first page of supporters Supporters({ page }) Get a specific supporters page Supporter(id) Get a supporter by ID Subscriptions() Get the first page of subscriptions Subscriptions({ page, status }) Filter subscriptions by page and status Subscription(id) Get a subscription by ID Extras() Get the first page of extras Extras({ page }) Get a specific extras page Extra(id) Get an extra purchase by ID 🚀 Development This project now uses Bun as the primary package manager, test runner, and local workflow. If you need a Node.js-only install for compatibility checks, npm install and npm run build still work. The published package now includes declaration files for TypeScript consumers. 📖 Documentation Check out the official and complete documentation here. 🌏 Community Join to the official Buy Me a Coffee Discord community server! Join to my growing tech community and get the latest updates! 🎯 Contributing Contributions are welcome, create a pull request to this repo and I will review your code. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/warengonzaga","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/warengonzaga/buymeacoffee.js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}