{"id":19043396,"url":"https://github.com/statuscakedev/statuscake-js","last_synced_at":"2026-05-09T10:30:17.219Z","repository":{"id":41970496,"uuid":"452477218","full_name":"StatusCakeDev/statuscake-js","owner":"StatusCakeDev","description":"StatusCake JavaScript SDK (Alpha)","archived":false,"fork":false,"pushed_at":"2024-01-23T22:56:27.000Z","size":127,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T08:31:06.438Z","etag":null,"topics":["api-client","statuscake"],"latest_commit_sha":null,"homepage":"https://developers.statuscake.com","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/StatusCakeDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-26T23:40:40.000Z","updated_at":"2024-07-26T23:24:19.612Z","dependencies_parsed_at":"2023-01-21T21:23:00.976Z","dependency_job_id":"b5f5c45d-4bb2-49f2-a67a-85b1ebd73c4e","html_url":"https://github.com/StatusCakeDev/statuscake-js","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"5c777f5e408f464a24e0421d3ca4c0566696f1e6"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StatusCakeDev%2Fstatuscake-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StatusCakeDev%2Fstatuscake-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StatusCakeDev%2Fstatuscake-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StatusCakeDev%2Fstatuscake-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StatusCakeDev","download_url":"https://codeload.github.com/StatusCakeDev/statuscake-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240100563,"owners_count":19747689,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["api-client","statuscake"],"created_at":"2024-11-08T22:41:45.863Z","updated_at":"2026-05-09T10:30:17.149Z","avatar_url":"https://github.com/StatusCakeDev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# statuscake-js ![test](https://github.com/StatusCakeDev/statuscake-js/workflows/test/badge.svg)\n\n**NOTE**: This library is in alpha and not production ready. Whilst it can be\nused we will not offer support until it is generally available.\n\nThe JavaScript implementation of the [StatusCake\nAPI](https://www.statuscake.com/api/v1) client. Documentation for this library\ncan be found [here](https://www.statuscake.com/api/v1).\n\n## Prerequisites\n\nYou will need the following things properly installed on your computer:\n\n- [Node.js](https://nodejs.org/en/): any one of the **three latest major**\n  [releases](https://nodejs.org/en/)\n\n## Installation\n\nWith [NPM](https://www.npmjs.com/), run the following command\n\n```bash\nnpm install --save \"@statuscake/statuscake-js\"\n```\n\nto add the package to your `package.json` file.\n\n## Usage\n\nImport the package from any JavaScript/TypeScript file, instantiate an API\nclient and execute a request:\n\n```javascript\nimport 'isomorphic-fetch';\nimport {\n  Configuration,\n  UptimeApi,\n} from '@statuscake/statuscake-js';\n\nconst config = new Configuration({\n  headers: {\n    'Authorization': `Bearer ${apiToken}`,\n  },\n});\n\nconst service = new UptimeApi(config);\nservice.listUptimeTests()\n  .then((tests) =\u003e console.log(JSON.stringify(tests)))\n  .catch(console.log);\n```\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatuscakedev%2Fstatuscake-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstatuscakedev%2Fstatuscake-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatuscakedev%2Fstatuscake-js/lists"}