{"library":"js-cleanup","type":"library","category":null,"description":"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.","language":"javascript","status":"maintenance","version":"1.2.0","tags":["javascript","typescript","es6","clean","cleanup","source","comments","remover"],"last_verified":"Fri May 01","install":[{"cmd":"npm install js-cleanup","imports":["import { jsCleanup } from 'js-cleanup'","import { Result } from 'js-cleanup'","import { Options } from 'js-cleanup'"]},{"cmd":"yarn add js-cleanup","imports":[]},{"cmd":"pnpm add js-cleanup","imports":[]}],"homepage":null,"github":"https://github.com/aMarCruz/js-cleanup","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/js-cleanup","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}