Back to articles
Cleaning Node.js Build Artifacts with a CLI Tool

Cleaning Node.js Build Artifacts with a CLI Tool

via Dev.to JavaScriptMax Roma

Modern JavaScript and TypeScript projects generate a lot of build artifacts. Directories such as: node_modules .next dist .cache coverage .turbo appear across almost every project. When you work across many repositories these folders accumulate quickly and can easily consume tens of gigabytes of disk space. Cleaning them manually is tedious. So we built a small CLI tool called Dustoff . What Dustoff Does Dustoff scans your filesystem for common JavaScript and TypeScript build artifacts and allows you to browse and remove them interactively. Instead of manually searching for folders, you get a terminal interface that lets you quickly identify and clean up unused build outputs. Demo Features Dustoff includes: scanning for common build artifact directories sorting artifacts by size, path, or age searching and filtering results grouping artifacts by directory keyboard navigation for selecting multiple items safe deletion with confirmation The goal was to create something simple that remove

Continue reading on Dev.to JavaScript

Opens in a new tab

Read Full Article
3 views

Related Articles