{"id":20109808,"url":"https://github.com/hyper63/storage-update-demo","last_synced_at":"2025-03-02T18:24:47.048Z","repository":{"id":110719191,"uuid":"331957455","full_name":"hyper63/storage-update-demo","owner":"hyper63","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-22T13:41:30.000Z","size":1404,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-13T05:41:36.614Z","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/hyper63.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":"2021-01-22T13:41:09.000Z","updated_at":"2021-01-22T13:41:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"d00ca1e0-7bb2-4f9f-9098-0e50101a6623","html_url":"https://github.com/hyper63/storage-update-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper63%2Fstorage-update-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper63%2Fstorage-update-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper63%2Fstorage-update-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper63%2Fstorage-update-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyper63","download_url":"https://codeload.github.com/hyper63/storage-update-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241550048,"owners_count":19980641,"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-13T18:09:31.343Z","updated_at":"2025-03-02T18:24:47.040Z","avatar_url":"https://github.com/hyper63.png","language":"JavaScript","readme":"# hyper63 upload example\n\nThis project is used for the hyper63 storage sandbox to demo how to upload a file to hyper63 storage.\n\n```\nconst FormData = require('form-data')\nconst fetch = require('fetch')\nconst s = require('@hyper63/storage-demo')\nconst url = 'https://play.hyper63.com'\nconst token = '...'\n\nconst form = new FormData()\nform.append('file', s, {\n  type: 'image/jpg',\n  filename: 'somepicture.jpg'\n})\n\nawait ( await fetch(`${url}/storage/posters`, {\n  method: 'POST',\n  headers: { authorization: `Bearer ${token}` },\n  body: form\n})).json()\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyper63%2Fstorage-update-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyper63%2Fstorage-update-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyper63%2Fstorage-update-demo/lists"}