{"id":13534584,"url":"https://github.com/antonk52/why-npm-i-so-long","last_synced_at":"2025-05-16T16:08:04.195Z","repository":{"id":39909088,"uuid":"232676589","full_name":"antonk52/why-npm-i-so-long","owner":"antonk52","description":"Checks project's dependencies size AKA why npm install so long","archived":false,"fork":false,"pushed_at":"2024-12-21T20:07:25.000Z","size":12,"stargazers_count":224,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-13T20:59:59.316Z","etag":null,"topics":["dependencies","javascript","npm"],"latest_commit_sha":null,"homepage":"https://npm.im/why-npm-i-so-long","language":"JavaScript","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/antonk52.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-08T22:57:24.000Z","updated_at":"2024-12-21T20:07:29.000Z","dependencies_parsed_at":"2025-03-20T19:28:47.493Z","dependency_job_id":null,"html_url":"https://github.com/antonk52/why-npm-i-so-long","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.25,"last_synced_commit":"021d988983c6ab70b59803f0823e035d791c90ca"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonk52%2Fwhy-npm-i-so-long","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonk52%2Fwhy-npm-i-so-long/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonk52%2Fwhy-npm-i-so-long/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonk52%2Fwhy-npm-i-so-long/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antonk52","download_url":"https://codeload.github.com/antonk52/why-npm-i-so-long/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254564127,"owners_count":22092122,"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":["dependencies","javascript","npm"],"created_at":"2024-08-01T08:00:30.359Z","updated_at":"2025-05-16T16:08:04.138Z","avatar_url":"https://github.com/antonk52.png","language":"JavaScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# why-npm-i-so-long\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/5817809/72022944-b5798a00-3282-11ea-8d15-d38b6bb9929e.png\" width=\"500\" alt=\"illustration of a person asking why npm install take so long?\"\u003e\u003c/p\u003e\n\nLittle utility to ease troubleshooting why installing npm dependencies takes too long.\n\n## What is \"publish size\" vs \"install size\"?\n\nThe \"publish size\" is the size of the source code published to npm. This number is easy to detect and should be pretty small.\n\nThe \"install size\" is the size your hard drive will report after running npm install. This includes the package, all of the dependencies, and its dependency's dependencies...and so on.\n\n## Use without installing\n\n```sh\nnpx why-npm-i-so-long path/to/package.json\n```\n\n## Installation\n\n```sh\nnpm install --global why-npm-i-so-long\n```\n\n## Usage\n\nSee install size of dependencies\n```sh\nwhy-npm-i-so-long path/to/package.json\n```\nSee install size of devDependencies\n```sh\nwhy-npm-i-so-long path/to/package.json --dev\n```\n\n## Acknowledgments\n\n- [packagephobia](https://github.com/styfle/packagephobia)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonk52%2Fwhy-npm-i-so-long","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantonk52%2Fwhy-npm-i-so-long","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonk52%2Fwhy-npm-i-so-long/lists"}