{"id":23505226,"url":"https://github.com/nezort11/s3-localstorage","last_synced_at":"2026-02-15T18:32:16.141Z","repository":{"id":267980814,"uuid":"902952756","full_name":"nezort11/s3-localstorage","owner":"nezort11","description":"Small and simple localStorage-compatible adaptor for S3-compatible storages","archived":false,"fork":false,"pushed_at":"2025-10-31T07:19:18.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-31T09:23:38.236Z","etag":null,"topics":["localstorage","localstorage-api","s3","storage"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/nezort11.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-13T15:59:26.000Z","updated_at":"2025-10-31T07:19:23.000Z","dependencies_parsed_at":"2024-12-13T17:36:06.551Z","dependency_job_id":"1e9fad1f-f726-4b1a-935f-ce13bb8616af","html_url":"https://github.com/nezort11/s3-localstorage","commit_stats":null,"previous_names":["nezort11/s3-localstorage"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nezort11/s3-localstorage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nezort11%2Fs3-localstorage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nezort11%2Fs3-localstorage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nezort11%2Fs3-localstorage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nezort11%2Fs3-localstorage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nezort11","download_url":"https://codeload.github.com/nezort11/s3-localstorage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nezort11%2Fs3-localstorage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29486521,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T15:33:17.885Z","status":"ssl_error","status_checked_at":"2026-02-15T15:32:53.698Z","response_time":118,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["localstorage","localstorage-api","s3","storage"],"created_at":"2024-12-25T09:30:16.680Z","updated_at":"2026-02-15T18:32:16.124Z","avatar_url":"https://github.com/nezort11.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# s3-localstorage\n\nSmall and simple `localStorage`-compatible adaptor for S3-compatible storages (wrapper around `@aws-sdk/client-s3`).\n\n## Installation\n\n```sh\nnpm install s3-localstorage\n```\n\n## Setup\n\n### AWS\n\n- Open [AWS Console](https://console.aws.amazon.com/console/home) or similar\n\n- Go to [IAM](https://console.aws.amazon.com/iam/home#/users) \u003e Users\n\n- Create a new user\n\n- Enter user name and on \"Set permissions\" select `Attach policies directly`\n\n- Search for and select `S3FullAccess` permission (or manually select `admin`, `editor` and `viewer` roles)\n\n- Go to created user, click \"Create access key\", select `Application running outside AWS`\n\n- Copy `Access key` and `Secret access key`\n\n- Provide these to this package by preloading into `process.env`\n\n## Usage\n\n```ts\nimport S3LocalStorage from \"s3-localstorage\";\n\nconst main = async () =\u003e {\n  // throws `NoSuchBucket` error, if the specified bucket doesn't exist\n  const storage = new S3LocalStorage(\"user-bucket\", {\n    region: process.env.AWS_REGION,\n    endpoint: process.env.AWS_S3_ENDPOINT,\n    credentials: {\n      accessKeyId: process.env.AWS_ACCESS_KEY_ID,\n      secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY,\n    },\n  });\n\n  await storage.setItem(\n    \"user\",\n    JSON.stringify({ id: 3923, name: \"nezort11\" })\n  );\n\n  const user = await storage.getItem(\"user\");\n  console.log(\"user from s3\", user);\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnezort11%2Fs3-localstorage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnezort11%2Fs3-localstorage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnezort11%2Fs3-localstorage/lists"}