{"id":18262851,"url":"https://github.com/midwayjs/mininm","last_synced_at":"2025-04-09T01:24:30.166Z","repository":{"id":45242354,"uuid":"329854569","full_name":"midwayjs/mininm","owner":"midwayjs","description":"Minimal node_modules like modclean","archived":false,"fork":false,"pushed_at":"2021-12-28T16:04:20.000Z","size":8,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-04-24T19:31:59.147Z","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/midwayjs.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":"2021-01-15T08:36:23.000Z","updated_at":"2021-01-25T06:46:37.000Z","dependencies_parsed_at":"2022-09-09T23:02:14.331Z","dependency_job_id":null,"html_url":"https://github.com/midwayjs/mininm","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midwayjs%2Fmininm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midwayjs%2Fmininm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midwayjs%2Fmininm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midwayjs%2Fmininm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/midwayjs","download_url":"https://codeload.github.com/midwayjs/mininm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247954427,"owners_count":21024220,"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":[],"created_at":"2024-11-05T11:09:04.873Z","updated_at":"2025-04-09T01:24:30.148Z","avatar_url":"https://github.com/midwayjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cbr/\u003e\n  \u003cbr/\u003e\n  \u003cb\u003emininm\u003c/b\u003e\n  \u003cbr /\u003e\n  \u003cbr /\u003e\n  \u003cspan\u003e移除 \u003cb\u003enode_modules\u003c/b\u003e 中数以万计的无用文件\u003c/span\u003e\n  \u003cbr /\u003e\n  \u003cbr /\u003e\n  \u003cspan\u003e\n    \u003ca href=\"https://www.npmjs.org/package/@midwayjs/mininm\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@midwayjs/mininm.svg?style=flat\" alt=\"npm\"\u003e\u003c/a\u003e \n    \u003ca href=\"./LICENSE\" alt=\"GitHub license\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/echosoar/@midwayjs/mininm/actions?query=workflow%3A%22Node.js+CI%22\" alt=\"Node.js CI\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/Node.js%20CI-passing-brightgreen\" /\u003e\n    \u003c/a\u003e\n  \u003c/span\u003e\n  \u003cbr /\u003e\n  \u003cbr /\u003e\n\u003c/p\u003e\n\n## Use In Command\n```shell\n$ npm i @midwayjs/mininm -g\n$ mininm\n```\n\n## Use In Code\n\n```shell\n$ npm i @midwayjs/mininm -S\n```\n\n```TS\nimport { removeUselessFiles, removeUselessDirs } from '@midwayjs/mininm';\n\nawait removeUselessFiles(baseDir);\nawait removeUselessDirs(baseDir);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmidwayjs%2Fmininm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmidwayjs%2Fmininm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmidwayjs%2Fmininm/lists"}