{"id":23111823,"url":"https://github.com/dext7r/deletenodemodules","last_synced_at":"2025-04-03T23:44:19.112Z","repository":{"id":243410150,"uuid":"629359933","full_name":"dext7r/deletenodemodules","owner":"dext7r","description":"This is a Node.js project that can clean up all redundant 'node_modules' folders in the working directory using the 'rimraf' library","archived":false,"fork":false,"pushed_at":"2024-06-09T16:07:47.000Z","size":9453,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T11:31:17.982Z","etag":null,"topics":["deletenodemodules","nodemodules","rimraf"],"latest_commit_sha":null,"homepage":"https://www.h7ml.cn","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/dext7r.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":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-18T06:48:29.000Z","updated_at":"2024-06-28T12:36:58.000Z","dependencies_parsed_at":"2024-12-17T02:21:05.382Z","dependency_job_id":null,"html_url":"https://github.com/dext7r/deletenodemodules","commit_stats":null,"previous_names":["h7ml/deletenodemodules"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dext7r%2Fdeletenodemodules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dext7r%2Fdeletenodemodules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dext7r%2Fdeletenodemodules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dext7r%2Fdeletenodemodules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dext7r","download_url":"https://codeload.github.com/dext7r/deletenodemodules/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247097972,"owners_count":20883127,"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":["deletenodemodules","nodemodules","rimraf"],"created_at":"2024-12-17T02:10:57.721Z","updated_at":"2025-04-03T23:44:19.083Z","avatar_url":"https://github.com/dext7r.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## DeleteNodeModules\r\n\r\nDeleteNodeModules 是一个用于清理工作目录中所有多余的 node_modules 文件夹的 Node.js 脚本。\r\n\r\n### 安装\r\n\r\n#### 全局安装\r\n\r\n#### npm\r\n\r\n```bash\r\nnpm install -g @h7ml/deletenodemodules\r\n```\r\n\r\n#### yarn\r\n\r\n```bash\r\nyarn global add @h7ml/deletenodemodules\r\n```\r\n\r\n#### pnpm\r\n\r\n```bash\r\npnpm install -g @h7ml/deletenodemodules\r\n```\r\n\r\n#### 局部安装\r\n\r\n```bash\r\nnpm install @h7ml/deletenodemodules\r\n```\r\n\r\n#### 使用方法\r\n\r\n全局安装后，在命令行中输入 `deletenodemodules` 命令即可运行脚本：\r\n\r\n```bash\r\ndeletenodemodules\r\n```\r\n\r\n脚本将在工作目录中查找所有的 `node_modules` 文件夹，并删除它们。\r\n\r\n### 开发\r\n\r\n如果你想要对 `DeleteNodeModules` 进行开发或进行本地测试，则可以从 `GitHub` 上将项目克隆到本地：\r\n\r\n```bash\r\ngit clone https://github.com/h7ml/DeleteNodeModules.git\r\n```\r\n\r\n#### 安装依赖\r\n\r\n```bash\r\nnpm install\r\n```\r\n\r\n#### 运行脚本\r\n\r\n```bash\r\nnpm run start\r\n```\r\n\r\n### 许可证`MIT`\r\n\r\n详见 [LICENSE](./LICENSE) 文件。\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdext7r%2Fdeletenodemodules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdext7r%2Fdeletenodemodules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdext7r%2Fdeletenodemodules/lists"}