{"id":24286000,"url":"https://github.com/extra-memoize/extra-disk-cache","last_synced_at":"2025-09-25T07:31:33.522Z","repository":{"id":57678198,"uuid":"478392962","full_name":"extra-memoize/extra-disk-cache","owner":"extra-memoize","description":"🌿","archived":false,"fork":false,"pushed_at":"2025-07-04T08:25:36.000Z","size":1819,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-08T16:28:50.346Z","etag":null,"topics":["esm","library","nodejs","npm-package","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@extra-memoize/extra-disk-cache","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/extra-memoize.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-04-06T03:47:27.000Z","updated_at":"2025-07-04T08:25:40.000Z","dependencies_parsed_at":"2024-12-16T22:48:24.959Z","dependency_job_id":"a57da8ed-346c-405f-bfdb-7ebc752f67c3","html_url":"https://github.com/extra-memoize/extra-disk-cache","commit_stats":{"total_commits":46,"total_committers":1,"mean_commits":46.0,"dds":0.0,"last_synced_commit":"48e63d0c5356eb2bdabb945ff79fad63666e361d"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/extra-memoize/extra-disk-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extra-memoize%2Fextra-disk-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extra-memoize%2Fextra-disk-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extra-memoize%2Fextra-disk-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extra-memoize%2Fextra-disk-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/extra-memoize","download_url":"https://codeload.github.com/extra-memoize/extra-disk-cache/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/extra-memoize%2Fextra-disk-cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276881828,"owners_count":25721413,"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-09-25T02:00:09.612Z","response_time":80,"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":["esm","library","nodejs","npm-package","typescript"],"created_at":"2025-01-16T07:19:42.617Z","updated_at":"2025-09-25T07:31:33.222Z","avatar_url":"https://github.com/extra-memoize.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @extra-memoize/extra-disk-cache\nThe adapter for [extra-disk-cache].\n\n[extra-disk-cache]: https://www.npmjs.com/package/extra-disk-cache\n\n## Install\n```sh\nnpm install --save @extra-memoize/extra-disk-cache\n# or\nyarn add @extra-memoize/extra-disk-cache\n```\n\n### API\n#### DiskCache\n```ts\nclass DiskCache\u003cT\u003e implements ICache\u003cT\u003e {\n  constructor(\n    view: DiskCacheView\u003cstring, T\u003e\n  , timeToLive?: number\n  )\n}\n```\n\n#### StaleWhileRevalidateDiskCache\n```ts\nclass StaleWhileRevalidateDiskCache\u003cT\u003e implements IStaleWhileRevalidateCache\u003cT\u003e {\n  constructor(\n    view: DiskCacheView\u003cstring, T\u003e\n  , timeToLive: number\n  , staleWhileRevalidate: number\n  )\n}\n```\n\n#### StaleIfErrorDiskCache\n```ts\nclass StaleIfErrorDiskCache\u003cT\u003e implements IStaleIfErrorCache\u003cT\u003e {\n  constructor(\n    view: DiskCacheView\u003cstring, T\u003e\n  , timeToLive: number\n  , staleIfError: number\n  )\n}\n```\n\n#### StaleWhileRevalidateAndStaleIfErrorDiskCache\n```ts\nclass StaleWhileRevalidateAndStaleIfErrorDiskCache\u003cT\u003e implements IStaleWhileRevalidateAndStaleIfErrorCache\u003cT\u003e {\n  constructor(\n    view: DiskCacheView\u003cstring, T\u003e\n  , timeToLive: number\n  , staleWhileRevalidate: number\n  , staleIfError: number\n  )\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextra-memoize%2Fextra-disk-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fextra-memoize%2Fextra-disk-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextra-memoize%2Fextra-disk-cache/lists"}