js-cleanup

JSON →
library 1.2.0 ·javascript maintenance
verified May 1, 2026

js-cleanup is a smart comment and whitespace cleaner for JavaScript-like files (JS, TS, Flow, React, ES9+). Current stable version is 1.2.0, released September 2020. It provides configurable comment filtering (preserve 'all'/'some'/'none'), blank line compaction, trailing whitespace removal, line ending normalization, TypeScript definitions, and sourcemap support. Unlike minifiers like Uglify, it preserves code style while giving fine-grained control over comments. Requires Node >=10.14.2 (<11.x). Release cadence is low; repository appears in maintenance mode.

total hits 8
actors 3 distinct systems
last hit 4d ago AhrefsBot
GPTBot
2
Script
1
Humans
2

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇮🇳 India · 🇮🇹 Italy · 🇳🇱 Netherlands