{"id":21358030,"url":"https://github.com/tom910/s3-fifo-cache","last_synced_at":"2025-07-22T14:04:23.117Z","repository":{"id":214965348,"uuid":"737776650","full_name":"Tom910/s3-fifo-cache","owner":"Tom910","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-01T15:28:21.000Z","size":61,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-13T00:42:54.475Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Tom910.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2024-01-01T13:11:04.000Z","updated_at":"2024-12-09T03:04:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"08c11a47-97ee-4555-9180-5ff6688d2c46","html_url":"https://github.com/Tom910/s3-fifo-cache","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"cc140f5b5e5162d7b4b23cea03e5327844f76543"},"previous_names":["tom910/s3-fifo-cache"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Tom910/s3-fifo-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tom910%2Fs3-fifo-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tom910%2Fs3-fifo-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tom910%2Fs3-fifo-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tom910%2Fs3-fifo-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tom910","download_url":"https://codeload.github.com/Tom910/s3-fifo-cache/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tom910%2Fs3-fifo-cache/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266507366,"owners_count":23940055,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":[],"created_at":"2024-11-22T05:13:58.451Z","updated_at":"2025-07-22T14:04:23.089Z","avatar_url":"https://github.com/Tom910.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# s3-fifo-cache\nMore information about this algorithm you can find in [this article](https://amarchenko.dev/blog/2023-10-12-memory-cache/)\n\nsize: 0.8Kb after gzip\n\n## How to Install\n\n```bash\nnpm install --save s3-fifo-cache\n```\n\n## How to Use\n\n```typescript\nimport { S3FifoCache } from 's3-fifo-cache';\n\nconst cache = new S3FifoCache(100);\ncache.set(\"key\", \"value\");\ncache.set(\"key2\", \"value\");\ncache.get(\"key\") // -\u003e \"value\"\n\ncache.has(\"key\") // -\u003e true\n\ncache.delete(\"key\");\ncache.get(\"key\") // -\u003e undefined\n\ncache.clear();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftom910%2Fs3-fifo-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftom910%2Fs3-fifo-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftom910%2Fs3-fifo-cache/lists"}