{"id":19388128,"url":"https://github.com/zakimohammed/ng-cashew-app","last_synced_at":"2026-05-18T04:04:22.780Z","repository":{"id":169110013,"uuid":"644116006","full_name":"ZakiMohammed/ng-cashew-app","owner":"ZakiMohammed","description":"🥜 NgCashew app to explore the air light @ngneat/cashew package to cache Angular HTTP requests powered by Cirrus UI.","archived":false,"fork":false,"pushed_at":"2023-05-25T14:40:33.000Z","size":175,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-04T21:52:17.935Z","etag":null,"topics":["angular","cache","cashew","cirrus-ui","http","ngneat"],"latest_commit_sha":null,"homepage":"https://ng-cashew-app.netlify.app/","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/ZakiMohammed.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-05-22T21:13:58.000Z","updated_at":"2023-05-24T19:34:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"3fb92808-0d5d-44e8-a3ee-6d9d3046bd9a","html_url":"https://github.com/ZakiMohammed/ng-cashew-app","commit_stats":null,"previous_names":["zakimohammed/ng-cashew-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ZakiMohammed/ng-cashew-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZakiMohammed%2Fng-cashew-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZakiMohammed%2Fng-cashew-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZakiMohammed%2Fng-cashew-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZakiMohammed%2Fng-cashew-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZakiMohammed","download_url":"https://codeload.github.com/ZakiMohammed/ng-cashew-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZakiMohammed%2Fng-cashew-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279261288,"owners_count":26136312,"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-10-16T02:00:06.019Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["angular","cache","cashew","cirrus-ui","http","ngneat"],"created_at":"2024-11-10T10:11:52.211Z","updated_at":"2025-10-17T00:35:47.356Z","avatar_url":"https://github.com/ZakiMohammed.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🥜 NgCashew\n\nCheck out the CodeOmelet blog post for this project.\n\nLink: https://codeomelet.com/posts/cache-angular-http-request-using-ngneat-cashew\n\n___\n\nNgCashew app to explore the air light `@ngneat/cashew` package to cache Angular HTTP requests powered by Cirrus UI.\n\n## Run Project\n\n```\nnpm start\n```\n\n## Add Cashew Package\n\n```\nnpm i @ngneat/cashew\n```\n\n## Add to App Modules\n\n```\n@NgModule({\n  imports: [\n    HttpClientModule, \n    HttpCacheInterceptorModule.forRoot(), \n    ...\n  ],\n})\n```\n\n## Add to HTTP Service\n\nConfigure the options object:\n\n```\nprivate options = {\n  context: withCache()\n};\n```\n\nPass it to `get` method:\n\n```\ngetUsers() {\n  const url = `${this.url}${this.userUrl}`;\n  return this.http.get\u003cany\u003e(url, this.options);\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzakimohammed%2Fng-cashew-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzakimohammed%2Fng-cashew-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzakimohammed%2Fng-cashew-app/lists"}