{"id":23151240,"url":"https://github.com/samsoft00/sendstack","last_synced_at":"2026-04-06T08:01:45.541Z","repository":{"id":41360202,"uuid":"508831430","full_name":"samsoft00/sendstack","owner":"samsoft00","description":"🚀 JavaScript API Client for the sendstack.africa delivery","archived":false,"fork":false,"pushed_at":"2022-07-04T07:36:30.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T15:14:55.013Z","etag":null,"topics":["javascript","nodejs","sendstack","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samsoft00.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-29T20:07:37.000Z","updated_at":"2023-04-11T15:50:30.000Z","dependencies_parsed_at":"2022-08-29T01:11:13.722Z","dependency_job_id":null,"html_url":"https://github.com/samsoft00/sendstack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samsoft00/sendstack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samsoft00%2Fsendstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samsoft00%2Fsendstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samsoft00%2Fsendstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samsoft00%2Fsendstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samsoft00","download_url":"https://codeload.github.com/samsoft00/sendstack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samsoft00%2Fsendstack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31464102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","nodejs","sendstack","typescript"],"created_at":"2024-12-17T18:31:44.322Z","updated_at":"2026-04-06T08:01:45.525Z","avatar_url":"https://github.com/samsoft00.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://github.com/samsoft00/sendstack/blob/main/logo.svg \"Sendstack Logo\")\n\n# JavaScript API Client for [Sendstack Africa](https://www.sendstack.africa)\n\n## Installation\n\n**This library relies on the global fetch API. To use this library with\nNode.js, [node-fetch](https://github.com/node-fetch/node-fetch) is required.**\n\nFor compatibility with Node.js versions \u003c 12, please also install\nthe [globalThis polyfill](https://github.com/es-shims/globalThis).\n\n### Via NPM\n\n```bash\nnpm install sendstack\n```\n\n### Via Yarn\n\n```bash\nyarn add sendstack\n```\n\n### Browser\n\n```html\n\u003cscript src='https://unpkg.com/browse/sendstack/dist/Sendstack.umd.js'\u003e\u003c/script\u003e\n```\n\n## Example\n\n```javascript\n// const globalThis = require('globalthis')(); // uncomment if NodeJS \u003c NodeJS versions \u003c 12\n// globalThis.fetch = require('node-fetch').default; // uncomment in NodeJS environments\n// const SendstackClient = require('sendstack-client'); // uncomment in NodeJS environments\n\nnew SendstackClient(\"\u003cMY_SENDSTACK_APP_SECRET\"\u003e, \"\u003cAPP_ID\u003e\")\n\t.walletBalance()\n\t.then(balance =\u003e console.log(`Current balance: ${balance}`))\n\t.catch(console.error);\n```\n\n## Tests\n\n1. `git clone https://github.com/samsoft00/sendstack`\n2. `cd sendstack \u0026\u0026 npm install`\n3. `SENDSTACK_API_KEY=\u003capiKey\u003e SENDSTACK_APP_ID=\u003cappId\u003e  npm run test`\n\nSet `SENDSTACK_LIVE_TEST=1` for live tests performing actual HTTP requests.\n\nSet `SENDSTACK_DEBUG=1` for details printed to `stdout`.\n\n### Support\n\nNeed help? Feel free to [contact us](https://www.sendstack.africa/).\n\n[![MIT](https://img.shields.io/badge/License-MIT-teal.svg)](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamsoft00%2Fsendstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamsoft00%2Fsendstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamsoft00%2Fsendstack/lists"}