Package
clean-modules
Saves space by removing redundant files from your node_modules. Useful for CI caches or reducing the size of serverless functions.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 42.2k
- +39% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 4 months ago
- v4.0.0
- GitHub stars
- 129
- 4 forks
- Open issues / PRs
- 1 / 0
- Contributors
- -
- Commits, last 52 weeks
- 66
Downloads
Last week 2026-09-15 to 2026-09-21
42,212 downloads last week, 220,977 in the last month. The 12-month change of +39% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 4.0.0, 23 May 20264 months ago
- First published
- -
- Last push to GitHub
- 27 May 2026120 days before the snapshot
- Repository archived
- No
- Open issues
- 1
- Open pull requests
- 0
- Commits, last 52 weeks
- 66
- Dependents on npm
- 3
Major versions
-
Recent releases
-
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=22
- Runtimes
- -
- Unpacked size (npm)
- 42 kB
- Dependencies (1)
picomatch
npm install clean-modules- jsDelivr
https://cdn.jsdelivr.net/npm/clean-modules@4.0.0/ - unpkg
https://unpkg.com/clean-modules@4.0.0/ - esm.sh
https://esm.sh/clean-modules@4.0.0
Indexability: Indexed.