{"id":20341240,"url":"https://github.com/pomdtr/deta-space-client","last_synced_at":"2025-04-11T23:31:23.225Z","repository":{"id":92761245,"uuid":"607892393","full_name":"pomdtr/deta-space-client","owner":"pomdtr","description":"An unofficial client for the Deta Space API.","archived":false,"fork":false,"pushed_at":"2023-07-26T16:20:01.000Z","size":93,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T16:49:30.558Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pomdtr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-28T22:14:23.000Z","updated_at":"2023-08-23T07:45:38.000Z","dependencies_parsed_at":"2024-11-03T04:00:32.504Z","dependency_job_id":"56a7737d-1d3b-46c1-ac55-3d59eb0baeff","html_url":"https://github.com/pomdtr/deta-space-client","commit_stats":{"total_commits":53,"total_committers":2,"mean_commits":26.5,"dds":0.339622641509434,"last_synced_commit":"76b304090eabf46775019ab17ed1e575a7438e45"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomdtr%2Fdeta-space-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomdtr%2Fdeta-space-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomdtr%2Fdeta-space-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomdtr%2Fdeta-space-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pomdtr","download_url":"https://codeload.github.com/pomdtr/deta-space-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248494899,"owners_count":21113522,"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":[],"created_at":"2024-11-14T21:26:33.884Z","updated_at":"2025-04-11T23:31:23.192Z","avatar_url":"https://github.com/pomdtr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deta Space Client\n\nAn fetch function for deta space\n\n## Usage\n\nSee the [Authentication Doc](https://deta.space/docs/en/basics/cli/#authentication) for more information on how to get your access token.\n\n```js\nimport { fetchFn } from \"deta-space-client\";\n\n// Provide your access token\nconst fetchFromSpace = fetchFn(process.env.DETA_SPACE_TOKEN);\n\nfetch(\"/instances\").then((response) =\u003e {\n  console.log(response);\n});\n```\n\n## CLI\n\n```txt\nspace-client \u003ccommand\u003e\n\nCommands:\n  index.js get \u003cendpoint\u003e   Do a GET request\n  index.js post \u003cendpoint\u003e  Do a POST request\n\nOptions:\n  --version       Show version number                                  [boolean]\n  --access-token  The space access token                                [string]\n  --help          Show help                                            [boolean]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpomdtr%2Fdeta-space-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpomdtr%2Fdeta-space-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpomdtr%2Fdeta-space-client/lists"}