| Crates.io | rcy |
| lib.rs | rcy |
| version | 0.1.0 |
| created_at | 2025-07-16 17:19:24.372092+00 |
| updated_at | 2025-07-16 17:19:24.372092+00 |
| description | A CLI tool to remove comments from JavaScript and TypeScript files |
| homepage | |
| repository | https://github.com/UltiRequiem/rc |
| max_upload_size | |
| id | 1755936 |
| size | 19,379 |
A simple CLI tool that removes comments from JavaScript and TypeScript files.
//)/* */).js, .jsx) and TypeScript (.ts, .tsx) filescargo build --release
rc path/to/file.js
rc --in-place path/to/file.js
rc path/to/directory
rc --verbose path/to/directory
rc --in-place --verbose path/to/directory
-i, --in-place: Process files in-place (modify original files)-v, --verbose: Verbose output showing which files are being processed-h, --help: Show help message# Remove comments from a single file and print to stdout
rc src/main.js
# Remove comments from all JS/TS files in a directory
rc --in-place --verbose src/
# Process specific file types in a project
rc --in-place --verbose .
// comment/* comment */code(); // comment"This has // inside"`This has /* inside */ too`.js - JavaScript files.jsx - React JavaScript files.ts - TypeScript files.tsx - React TypeScript files