{"library":"rollup-plugin-cleanup","type":"library","category":null,"description":"Rollup plugin for removing JavaScript comments, compacting empty lines, trimming trailing spaces, and normalizing line endings. Current stable version 3.2.1 supports Rollup >=2.0 and Node.js >=10.14.2 or >=12.0.0. Unlike minifiers like Uglify, it preserves coding style and gives fine-grained control over comment removal via configurable filters. Since v3.1, it no longer depends on acorn, relying instead on js-cleanup. Offers TypeScript definitions, sourcemap support, and works with JS-like files (TS, Flow, React, ES9+).","language":"javascript","status":"active","version":"3.2.1","tags":["javascript","rollup","rollup-plugin","es6","modules","comments","removal","cleanup"],"install":[{"cmd":"npm install rollup-plugin-cleanup","imports":["import cleanup from 'rollup-plugin-cleanup'","const cleanup = require('rollup-plugin-cleanup')","import type { RollupPluginCleanupOptions } from 'rollup-plugin-cleanup'"]},{"cmd":"yarn add rollup-plugin-cleanup","imports":[]},{"cmd":"pnpm add rollup-plugin-cleanup","imports":[]}],"homepage":null,"github":"https://github.com/aMarCruz/rollup-plugin-cleanup","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/rollup-plugin-cleanup","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/rollup-plugin-cleanup/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Thu Jun 18","next_check":"Sun Jul 26","install_tag":null}}