{"id":16864324,"url":"https://github.com/nickserv/cacheinfo","last_synced_at":"2025-04-08T14:36:59.000Z","repository":{"id":61517804,"uuid":"545677089","full_name":"nickserv/cacheinfo","owner":"nickserv","description":"Info about your JavaScript package manager cache sizes","archived":false,"fork":false,"pushed_at":"2024-01-07T00:49:50.000Z","size":29,"stargazers_count":2,"open_issues_count":6,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T01:19:46.859Z","etag":null,"topics":["diagnostics","info","reporting"],"latest_commit_sha":null,"homepage":"https://npm.im/cacheinfo","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/nickserv.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}},"created_at":"2022-10-04T19:45:03.000Z","updated_at":"2023-04-25T06:41:15.000Z","dependencies_parsed_at":"2024-01-16T07:20:33.602Z","dependency_job_id":null,"html_url":"https://github.com/nickserv/cacheinfo","commit_stats":{"total_commits":46,"total_committers":2,"mean_commits":23.0,"dds":"0.021739130434782594","last_synced_commit":"7309fce553d2691019bddd8ee362af9431cd2fd0"},"previous_names":["nickserv/cacheinfo"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickserv%2Fcacheinfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickserv%2Fcacheinfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickserv%2Fcacheinfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickserv%2Fcacheinfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickserv","download_url":"https://codeload.github.com/nickserv/cacheinfo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247862277,"owners_count":21008670,"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":["diagnostics","info","reporting"],"created_at":"2024-10-13T14:41:36.236Z","updated_at":"2025-04-08T14:36:58.975Z","avatar_url":"https://github.com/nickserv.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `cacheinfo`\n\nInfo about your JavaScript package manager cache sizes\n\n## Usage\n\n### CLI\n\n```sh\nnpx cacheinfo\n```\n\n```\nbower ... MB\nbun ... MB\ncorepack ... MB\ndeno ... MB\nnpm ... MB\npnpm ... MB\nyarn classic ... MB\nyarn modern ... MB\n```\n\n### API\n\n`cacheinfo` is a function that returns a `ReadableStream\u003c[name: string, size: number]\u003e` with the name and size (in bytes) of each package manager cache\n\n```ts\nimport cacheinfo from \"cacheinfo\";\n\nfor await (const [name, size] of cacheinfo()) {\n\t// ...\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickserv%2Fcacheinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickserv%2Fcacheinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickserv%2Fcacheinfo/lists"}