{"id":21992608,"url":"https://github.com/beeequeue/sizer","last_synced_at":"2025-04-30T14:25:11.131Z","repository":{"id":37019720,"uuid":"470745181","full_name":"beeequeue/sizer","owner":"beeequeue","description":"🔢 A tiny CLI for checking file sizes with compression","archived":false,"fork":false,"pushed_at":"2025-01-10T22:03:48.000Z","size":816,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-10T23:18:46.994Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/beeequeue.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-03-16T20:42:02.000Z","updated_at":"2024-12-01T04:03:40.000Z","dependencies_parsed_at":"2023-12-18T04:25:49.380Z","dependency_job_id":"e36a562a-2c14-4457-9c86-731cc1dfe67d","html_url":"https://github.com/beeequeue/sizer","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeequeue%2Fsizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeequeue%2Fsizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeequeue%2Fsizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeequeue%2Fsizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beeequeue","download_url":"https://codeload.github.com/beeequeue/sizer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234455937,"owners_count":18835665,"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":[],"created_at":"2024-11-29T20:14:16.883Z","updated_at":"2025-01-18T02:56:09.909Z","avatar_url":"https://github.com/beeequeue.png","language":"TypeScript","readme":"# Sizer CLI\n\n## Installation\n\nInstall it from npm:\n\n```\nnpm i -g @beequeue/sizer\n```\n\nOr (not recommended) download one of the binaries in [the Releases tab](https://github.com/BeeeQueue/sizer/releases).\n\n## Usage\n\n```\nUsage: sizer [options] \u003cglob\u003e\n\nArguments:\n  glob                 File path glob to analyze\n\nOptions:\n  -V, --version        output the version number\n  -s, --sort \u003ctype\u003e    Change how files are sorted in the output\n                         (choices: \"size-asc\", \"size-desc\", \"name-asc\", \"name-desc\", default: \"size-desc\")\n  -i, --ignore \u003cglob\u003e  Glob of files to exclude from output\n  -B, --brotli         Compress using Brotli (slow!)\n  --json               Output in JSON format\n  -h, --help           display help for command\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eExample output\u003c/summary\u003e\n\n```\n❯ sizer dist/**/*.js\nPath                                          Size      Gzip     Diff%\n----                                          ----      ----     -----\ndist/assets/vendor.a06e18d4.js                144.79KB  47.58KB  -67%\ndist/assets/index.2143eba7.js                 18.17KB   7.79KB   -57%\ndist/sw.js                                    16.24KB   5.6KB    -66%\ndist/assets/virtual_pwa-register.69ec1145.js  5.81KB    2.42KB   -58%\n-----                                         ------    ------   ----\nTotal                                         185KB     63.38KB  -66%\n```\n\n\u003c/details\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeequeue%2Fsizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeeequeue%2Fsizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeequeue%2Fsizer/lists"}