{"id":18269688,"url":"https://github.com/skyfe79/tinycache","last_synced_at":"2026-05-02T06:37:19.108Z","repository":{"id":229996558,"uuid":"777791065","full_name":"skyfe79/TinyCache","owner":"skyfe79","description":"Simple and lightweight caching solution for Swift apps.","archived":false,"fork":false,"pushed_at":"2024-03-27T07:32:36.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-14T21:29:40.420Z","etag":null,"topics":["ios","macos","swift"],"latest_commit_sha":null,"homepage":"https://github.com/skyfe79/TinyCache","language":"Swift","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/skyfe79.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2024-03-26T14:06:51.000Z","updated_at":"2024-04-05T16:51:49.000Z","dependencies_parsed_at":"2024-03-27T09:49:39.854Z","dependency_job_id":null,"html_url":"https://github.com/skyfe79/TinyCache","commit_stats":null,"previous_names":["skyfe79/tinycache"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyfe79%2FTinyCache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyfe79%2FTinyCache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyfe79%2FTinyCache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyfe79%2FTinyCache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skyfe79","download_url":"https://codeload.github.com/skyfe79/TinyCache/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247968377,"owners_count":21025823,"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":["ios","macos","swift"],"created_at":"2024-11-05T11:36:52.009Z","updated_at":"2026-05-02T06:37:19.065Z","avatar_url":"https://github.com/skyfe79.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TinyCache\n\nTinyCache is a simple and lightweight caching solution for Swift apps.\n\n## Installation\n\n### Swift Package Manager\n\nTo integrate TinyCache into your project using Swift Package Manager, add it to your `Package.swift` file:\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/skyfe79/TinyCache.git\", .upToNextMajor(from: \"0.0.1\"))\n]\n```\n\n## Usage\n\n### Memory Caching\n\n```swift\nlet tinyCache = TinyCache\u003cString, String\u003e(policy: .default)\ntinyCache.set(value: \"Hello, World!\", forKey: \"greeting\")\nlet greeting = tinyCache.value(forKey: \"greeting\")\n```\n\n### Codable Caching\n\n```swift\nstruct MyModel: Codable {\n    let id: Int\n    let name: String\n}\n\nlet codableCache = TinyCodableCache.shared\nlet model = MyModel(id: 1, name: \"TinyCache\")\ncodableCache.set(codable: model, forKey: \"modelKey\")\n```\n\n### Image Caching\n\n```swift\nlet imageCache = TinyImageCache.shared\nimageCache.set(image: myImage, forKey: \"imageKey\")\n```\n\n## License\n\nTinyCache is released under the MIT License. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyfe79%2Ftinycache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyfe79%2Ftinycache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyfe79%2Ftinycache/lists"}