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

chatu-organizer

v1.0.1

Published

A simple and fast Node.js CLI tool that automatically organizes files into folders based on their extensions.

Readme

📂 File Organizer CLI

A simple and fast Node.js CLI tool that automatically organizes files into folders based on their extensions.

Perfect for cleaning messy Downloads folders, project directories, or shared drives.


✨ Features

  • 📁 Automatically sorts files by type
  • ⚡ Fast and lightweight
  • 🧠 Smart extension mapping
  • 🚫 Ignores system & important folders
  • 🔄 Creates folders automatically
  • 🖥️ Works on Windows, macOS, and Linux
  • 📦 Easy to install and use

📦 Supported Categories

| Folder | File Types | |---|---| | images | jpg, jpeg, png, gif, webp, svg, bmp, ico, avif, tiff | | videos | mp4, mkv, avi, mov, wmv, flv, webm, mpeg | | audio | mp3, wav, ogg, flac, aac, m4a | | documents | pdf, doc, docx, txt, rtf, odt, md | | spreadsheets | xls, xlsx, csv, ods | | presentations | ppt, pptx, odp | | codes | js, ts, jsx, tsx, py, java, c, cpp, cs, go, rs, php, rb, swift, kt, scala, html, css, scss, json, xml, yaml, yml, sql, sh, ipynb | | archives | zip, rar, 7z, tar, gz, bz2, xz | | executables | exe, msi, deb, rpm, apk, appimage | | fonts | ttf, otf, woff, woff2 | | temp | tmp, log, cache, bak, old | | design | psd, fig, ai, xd, sketch | | ebooks | epub, mobi, azw3 | | others | Unknown file types |


🚀 Installation

Install Globally

npm install -g file-organizer-cli

🛠 Usage

Organize Current Directory

file-organizer

Organize Specific Directory

file-organizer ./Downloads

or

file-organizer "C:/Users/YourName/Desktop"

📂 Example

Before

Downloads/
├── movie.mp4
├── photo.png
├── report.pdf
├── script.js

After

Downloads/
├── videos/
│   └── movie.mp4
│
├── images/
│   └── photo.png
│
├── documents/
│   └── report.pdf
│
├── codes/
│   └── script.js

⚙️ How It Works

The CLI:

  1. Reads all files from the target directory
  2. Detects file extensions
  3. Matches extensions with predefined categories
  4. Creates folders automatically
  5. Moves files into the correct folders

🚫 Ignored Folders

The following folders are skipped automatically:

node_modules
.git
images
videos
audio
documents
others
...

This prevents recursive moving and protects important project folders.


🌟 Future Improvements

  • Recursive directory organization
  • Duplicate file handling
  • Preview mode (--dry-run)
  • Custom config support
  • Watch mode for automatic organization

🤝 Contributing

Pull requests are welcome.

Feel free to improve categories, add new features, or optimize performance.


📜 License

MIT License © 2026


👨‍💻 Author

Built with ❤️ by Debottam Kar