{"id":45279250,"url":"https://github.com/rake7h/packsize","last_synced_at":"2026-02-21T02:14:05.767Z","repository":{"id":65572428,"uuid":"594413846","full_name":"rake7h/packsize","owner":"rake7h","description":"package size control on a monorepo","archived":false,"fork":false,"pushed_at":"2024-02-18T05:42:03.000Z","size":1256,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T05:20:13.537Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/rake7h.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"ROADMAP.md","authors":null,"dei":null}},"created_at":"2023-01-28T13:35:24.000Z","updated_at":"2024-02-11T08:25:19.000Z","dependencies_parsed_at":"2024-01-30T19:46:36.821Z","dependency_job_id":"68f3d0dc-b004-48d4-8cae-09dc08da6b3f","html_url":"https://github.com/rake7h/packsize","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.375,"last_synced_commit":"7d8b999f6ae1a93c0ff5fb781fca5019cdab6d46"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/rake7h/packsize","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rake7h%2Fpacksize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rake7h%2Fpacksize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rake7h%2Fpacksize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rake7h%2Fpacksize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rake7h","download_url":"https://codeload.github.com/rake7h/packsize/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rake7h%2Fpacksize/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29671513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T00:11:43.526Z","status":"online","status_checked_at":"2026-02-21T02:00:07.432Z","response_time":107,"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":[],"created_at":"2026-02-21T02:14:04.941Z","updated_at":"2026-02-21T02:14:05.756Z","avatar_url":"https://github.com/rake7h.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Packsize: Monorepo Package Size Stats Tool\n\n## Feature\n\nPacksize offers first-class support for monorepos, providing CLI commands to generate size statistics for all packages within the workspace. It also includes a diff checker to compare size changes between snapshots.\n\nThis tool is specifically designed for monorepos, allowing easy monitoring of package sizes across the entire workspace before publishing it.\n\n## Usage\n\n### Installation\n\n```bash\nyarn add packsize-cli\n```\n\n\n#### Creating Packsize Configuration\n\nCreate a `packsize.config.json` file at the root of your project:\n\n```json\n{\n \"workspaces\":  [\n      \"packages/*\",  \n      \"helpers/*\",  \n      \"other workspaces\",  \n      \"...\"  \n   ]  \n}\n```\n### CLI\n\nAdd the following commands to the `scripts` section of your root `package.json`:\n```json\n\"scripts\": { \n \"packsize:init\": \"packsize init\", \n \"packsize:diff\": \"packsize diff\", \n \"packsize:clean\": \"packsize clean\" \n}\n```\n\n\n\n|Command | Description | \n|--|--| \n| init |Generates the packsize stats snap file for all packages specified in `packsize.config.json`. | \n| diff | Compares the current snapshot with the previous one to identify size differences. |\n| clean | Removes all snapshot files from the workspaces. |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frake7h%2Fpacksize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frake7h%2Fpacksize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frake7h%2Fpacksize/lists"}