Skip to content
JS
Package

clean-modules

Saves space by removing redundant files from your node_modules. Useful for CI caches or reducing the size of serverless functions.

v4.0.0, 23 May 2026ISCESM onlyTypes: BundledNode.js utilities
$ npm install clean-modules

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
050k100k150kSept 2025Mar 2026Sept 2026High 138.1k (28 Jul 2026)Low 24.9k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/clean-modules@4.0.0/
  • unpkghttps://unpkg.com/clean-modules@4.0.0/
  • esm.shhttps://esm.sh/clean-modules@4.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.