Skip to content
JS
Package

rollup-plugin-cleanup

Rollup plugin to trim trailing spaces, compact empty lines, and normalize line endings

v3.2.1, 23 Sept 2020MITESM + CommonJSTypes: NoneBundler plugins and loaders
$ npm install rollup-plugin-cleanup

Key numbers

As of 25 Sept 2026
Weekly downloads
59.6k
+27% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
6 years ago
v3.2.1
GitHub stars
100
5 forks
Open issues / PRs
7 / 5
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150kSept 2025Mar 2026Sept 2026High 137.3k (3 Mar 2026)Low 25.7k (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.

59,589 downloads last week, 314,696 in the last month. The 12-month change of +27% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.2.1, 23 Sept 20206 years ago
First published
-
Last push to GitHub
13 Jan 20221,715 days before the snapshot
Repository archived
No
Open issues
7
Open pull requests
5
Commits, last 52 weeks
0
Dependents on npm
220

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
^10.14.2 || >=12.0.0
Runtimes
-
Unpacked size (npm)
36 kB
Dependencies (2)
js-cleanuprollup-pluginutils
Peer dependencies (1)
rollup
npm install rollup-plugin-cleanup
  • jsDelivrhttps://cdn.jsdelivr.net/npm/rollup-plugin-cleanup@3.2.1/
  • unpkghttps://unpkg.com/rollup-plugin-cleanup@3.2.1/
  • esm.shhttps://esm.sh/rollup-plugin-cleanup@3.2.1
PackageWeekly downloadsGzipLast releaseModuleComparison
rollup-plugin-ignore30k-5 years agoCommonJS-
@miyaneee/rollup-plugin-json5431.2k-2 years agoESM + CommonJS-
rollup-plugin-import-css62.5k-5 months agoESM + CommonJS-
rollup-plugin-istanbul45.6k-2 years agoESM + CommonJS-
rollup-plugin-generate-package-json42k-6 years agoESM + CommonJS-
rollup-plugin-sizes11.9k-1 year agoCommonJS-
rollup-plugin-typescript21.6m-5 months agoESM + CommonJS-
rollup-plugin-esbuild-minify43.2k-1 year agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.