npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@bytebroom/cli

v0.1.2

Published

The **ByteBroom Command-Line Interface (CLI)** provides a **fast**, **simple**, and **open-source** way to find and clean duplicate files directly from your terminal. It's designed to **easily** declutter your photos, documents, and downloads, making it p

Readme

ByteBroom CLI 🧹

The ByteBroom Command-Line Interface (CLI) provides a fast, simple, and open-source way to find and clean duplicate files directly from your terminal. It's designed to easily declutter your photos, documents, and downloads, making it perfect for digital hoarders, photographers, and anyone drowning in duplicate files! This interface leverages the core functionality of ByteBroom to offer a powerful duplicate file management solution.

Version License Downloads


Key Features (CLI)

  • Hash-Based Duplicate Detection: Quickly identifies duplicate files using hash comparisons.
  • Effortless Cleanup: Allows users to manually select duplicates for removal, ensuring safety.
  • Cross-Platform: Works seamlessly on Windows, macOS, and Linux, providing a consistent command-line experience.
  • Basic File filtering: Allows scanning only specific file types (e.g., jpg,png,txt).
  • Basic File Type Exclusion: Supports excluding certain file types from scans.
  • Automatic Trash Management: Deleted files are moved to the system trash instead of being permanently removed.

🚀 Quick Start

Installation

Ensure you have Node.js installed. You can install the ByteBroom CLI globally using npm:

# Install the ByteBroom CLI globally
npm install -g @bytebroom/cli

This command makes the bytebroom command available in your terminal.

Basic Usage

Navigate to your terminal and use the bytebroom command followed by the path to the directory you want to scan:

# Scan a folder for duplicates (e.g., cluttered photo libraries)
bytebroom /path/to/your/folder

For a quicker scan focusing on larger files, use the --fast option:

# Fast mode (quick scan for large files)
bytebroom ~/Pictures --fast

Advanced Options

The ByteBroom CLI offers several options to customize your duplicate file management:

# Exclude specific file types (e.g., RAW photos, logs)
bytebroom /path/to/folder --exclude "*.CR2, *.log"
# Filter results to specific file types (e.g., only images)
bytebroom /path/to/folder --filter "jpg,png,txt"

🔜 Upcoming Features

  • Better Pagination Navigation – Making it easier to browse through duplicates seamlessly.
  • Caching Scan Results – Avoid full rescans when canceling or modifying selections.
  • Quick Scan Mode – Detect duplicates based on filename similarity and file size.
  • Automated Cleanup (--clean option) – Enable bulk file removal with confirmation prompts for a smoother workflow.

🔧 Who Is This For?

  • 📸 Photographers: Quickly identify and remove duplicate image files (RAW, JPEG, etc.) cluttering your photo libraries through simple terminal commands.
  • 💻 Developers: Easily clean up redundant files in project directories using command-line automation.
  • 📁 Everyone: Reclaim disk space by efficiently finding and removing duplicate downloads, documents, and media files using a straightforward terminal interface.

🌟 Why Use the ByteBroom CLI?

  • Simplicity: Features simple and intuitive commands for easy duplicate file management directly from your terminal.
  • Safety First: Provides options to preview duplicates and create backups before deletion, ensuring no accidental data loss.
  • Automation-Friendly: The command-line interface allows for easy integration into scripts and automated workflows.
  • Leverages Core Power: Built on top of ByteBroom's efficient core logic, ensuring fast and accurate duplicate detection.

📦 Contributing to the CLI

If you're interested in contributing to the ByteBroom CLI, please see the main Contribution Guide for setup instructions and general guidelines. When contributing to the CLI package (packages/cli), focus on:

  • Improving the user experience of the command-line interface.
  • Adding new command-line options or functionalities.
  • Enhancing the output and feedback provided to the user in the terminal.
  • Writing and maintaining tests specifically for the CLI functionality within the packages/cli directory.

📄 License

MIT License. See LICENSE for details.

Sweep smarter, not harder, from your terminal. 🧹