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

file-arranger

v1.0.7

Published

Terminal UI file organizer with real-time folder monitoring, 100+ file type categories, and configurable conflict strategies

Readme

📁 File Arranger

Terminal UI file organizer with real-time folder monitoring, 100+ file type categories, and configurable conflict strategies. Built with OpenTUI.

✨ Features

  • 📂 Folder selection - Choose any folder to organize
  • 🔄 Real-time monitoring - Watches the folder and auto-organizes new files
  • 📊 Live counters - Total, organized, and pending file counts
  • 🏷️ 100+ file types - Documents, Images, Videos, Audio, Code, Archives, Executables, Fonts, Books, Data, Downloads, and more
  • ⚙️ Flexible config:
    • Destination folder - Same folder or a different one
    • Conflict strategy - Rename (default), Skip, or Overwrite
  • 📝 Scrollable logs - Full history of organized files with vertical scroll

🚀 Quick Start

Prerequisites

  • Bun installed (required by OpenTUI runtime)

Usage

# Run without installing
npx file-arranger

# Or install globally
npm install -g file-arranger
file-arranger

🎮 Controls

  1. Type or edit the folder path in the input field
  2. Press Tab to navigate between controls
  3. Press Enter on the Start button to begin monitoring
  4. Watch files being organized in real-time
  5. Use Tab to reach the Stop button and press Enter to stop
  6. Press Ctrl+C to exit

⚙️ Configuration

Conflict Strategy

When a file with the same name already exists in the destination:

  • Rename (default): file.pdffile (1).pdf
  • Skip: The file is not moved
  • Overwrite: Replaces the existing file

Destination Folder

By default, category folders are created inside the source folder. You can set a different destination in the Config panel on the left sidebar.

Categories

File categories and extensions are bundled into the application. The supported categories include:

| Category | Examples | |----------|----------| | Documents | .pdf, .doc, .docx, .xls, .xlsx, .ppt | | Images | .jpg, .png, .gif, .svg, .webp, .avif, .psd | | Videos | .mp4, .avi, .mkv, .mov, .m3u8, .mts | | Audio | .mp3, .wav, .flac, .aac, .ogg | | Code | .js, .ts, .py, .java, .cpp, .cs, .html, .css | | Archives | .zip, .rar, .7z, .tar, .gz, .iso | | Executables | .exe, .msi, .dmg, .pkg, .jar, .dll, .appimage | | Fonts | .ttf, .otf, .woff, .woff2 | | Books | .epub, .mobi, .azw, .cbr, .cbz | | Data | .db, .json, .xml, .csv, .sql, .bacpac | | Downloads | .torrent | | Others | Everything else |

🏗️ Architecture

The project follows a decoupled architecture:

  • Core (src/core/): Business logic — file organization, extension mapping, folder watching, and config. Zero UI imports.
  • UI (src/ui/): OpenTUI visual interface only. Consumes Core via callbacks.
  • Main (src/main.ts): Orchestrates Core and UI connection.

📝 License

MIT