{"id":13981079,"url":"https://github.com/tuananh/node-prune","last_synced_at":"2025-07-21T21:31:06.479Z","repository":{"id":65411409,"uuid":"111273854","full_name":"tuananh/node-prune","owner":"tuananh","description":"Easily pruning unneeded files from node_modules folder","archived":true,"fork":false,"pushed_at":"2020-03-13T07:51:09.000Z","size":11,"stargazers_count":50,"open_issues_count":1,"forks_count":8,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-06-29T09:22:58.733Z","etag":null,"topics":["node-modules","npm"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/tuananh.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}},"created_at":"2017-11-19T07:25:56.000Z","updated_at":"2024-02-23T19:57:58.000Z","dependencies_parsed_at":"2023-01-23T10:54:58.171Z","dependency_job_id":null,"html_url":"https://github.com/tuananh/node-prune","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.25,"last_synced_commit":"c668409f5f24b3d7938a635034957ece89d6a30a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tuananh/node-prune","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuananh%2Fnode-prune","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuananh%2Fnode-prune/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuananh%2Fnode-prune/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuananh%2Fnode-prune/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuananh","download_url":"https://codeload.github.com/tuananh/node-prune/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuananh%2Fnode-prune/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266381893,"owners_count":23920587,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["node-modules","npm"],"created_at":"2024-08-09T04:01:58.964Z","updated_at":"2025-07-21T21:31:06.262Z","avatar_url":"https://github.com/tuananh.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-prune\n\n\u003e Easily pruning unneeded files from `node_modules`.\n\n[![npm](https://img.shields.io/npm/v/node-prune.svg?style=flat-square)](https://npm.im/node-prune)\n\nOriginal script written by [gpittarelli](https://gist.github.com/gpittarelli/64d1e9b7c1a4af762ec467b1c7571dc2) and [neophob](https://gist.github.com/neophob/0c8cfdd460b8332002e7ba74aa1e9ffd).\n\n## Use cases:\n\n- Optmize for sizes for aws lambda functions\n- You haven't heard of `yarn` and `yarn autoclean`\n\n## Docker\n\n`cd` to project root and issue the following command.\n\n```\ndocker run --rm -v ${PWD}:/app hochzehn/node-prune\n```\n\n## Installation\n\n```\nnpm install -g node-prune\n```\n\n## Usage\n\n`cd` to project root and issue the following command.\n\n``` sh\nnode-prune\n```\n\nOutput\n\n```\nBefore: 135M .\nAfter: 112M .\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuananh%2Fnode-prune","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuananh%2Fnode-prune","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuananh%2Fnode-prune/lists"}