{"id":15416724,"url":"https://github.com/kshutkin/package-size","last_synced_at":"2026-03-02T17:34:03.200Z","repository":{"id":248027474,"uuid":"824263482","full_name":"kshutkin/package-size","owner":"kshutkin","description":"Measure the size of a bundled package and its dependencies","archived":false,"fork":false,"pushed_at":"2026-02-28T06:06:08.000Z","size":547,"stargazers_count":3,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-28T07:40:42.239Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/kshutkin.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-04T18:01:40.000Z","updated_at":"2025-03-28T07:19:09.000Z","dependencies_parsed_at":"2024-10-24T08:51:22.249Z","dependency_job_id":"57c67a0b-0cbf-4aa7-8df6-349c0b6b1eba","html_url":"https://github.com/kshutkin/package-size","commit_stats":{"total_commits":60,"total_committers":3,"mean_commits":20.0,"dds":0.5166666666666666,"last_synced_commit":"86e73bee91cbfe7b6888fe46a70f3c5d67985c25"},"previous_names":["kshutkin/package-size"],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/kshutkin/package-size","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshutkin%2Fpackage-size","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshutkin%2Fpackage-size/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshutkin%2Fpackage-size/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshutkin%2Fpackage-size/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kshutkin","download_url":"https://codeload.github.com/kshutkin/package-size/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshutkin%2Fpackage-size/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30011965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T17:00:27.440Z","status":"ssl_error","status_checked_at":"2026-03-02T17:00:03.402Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-01T17:13:35.739Z","updated_at":"2026-03-02T17:34:03.172Z","avatar_url":"https://github.com/kshutkin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Package Size (pkgsz)\n\n[![npm version](https://img.shields.io/npm/v/pkgsz.svg?style=flat-square)](https://www.npmjs.com/package/pkgsz)\n\nGet the size of an npm package.\n\n## Usage\n\n```bash\nnpx pkgsz [flags] \u003cpackage name\u003e [version]\n```\n\n## Requirements\n\n- Node.js 20+\n\n## Example\n\n![Demo](./demo.gif)\n\n## :bulb: Features\n\n- Uses rollup to build the package (probably more accurate results in the modern vite world)\n- Reports the statistics regarding node_modules size and minified / gzipped size (brotli compression is optional)\n- Supports subpath exports\n- Supports custom registries (without authentication)\n- Interactive mode\n\n## :bell: Limitations\n\n- If you are using something like angular size will be incorrect because this tool does not include the angular compiler (or any other UI framework / library compiler)\n- Only reports sizes in binary units (Kib, Mib, bytes)\n- Installs using `npm install` and not `yarn` / `pnpm` / `bun` etc.\n\n## :key: Options\n\n### -i, --interactive\n\nInteractive mode (default: false)\n\n### -b, --brotli\n\nCalculate brotli compressed size\n\n### -c, --no-clean\n\nDo not clean the temporary directory\n\n### -g, --no-gzip\n\nDo not calculate gzipped size\n\n### -e, --export\n\nReexport given subpath from the package (default: [\".\"])\n\n### -r, --registry\n\nThe npm registry to use when installing the package\n\n### -s, --enable-scripts\n\nEnable scripts\n\n### -j, --json\nOutput results as JSON\n\n### -h, --help\n\nShow help\n\n### --version\n\nShow version\n\n# :information_source: License\n\n[MIT](https://github.com/kshutkin/package-size/blob/main/LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkshutkin%2Fpackage-size","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkshutkin%2Fpackage-size","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkshutkin%2Fpackage-size/lists"}