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

clean-my-os

v1.1.2

Published

A cross-platform system scanner, optimizer, and cleaner.

Readme


📦 Installation & Usage

You can install this package globally using npm:

# Install globally from the local source directory
npm install -g .

# Or directly from npm:
npm install -g clean-my-os

Once installed, you can execute the command from any terminal:

# Run interactive menu (TUI)
cleanmyos

# Run subcommands directly
cleanmyos clean --dry-run
cleanmyos status

🚀 Commands

We have simplified the commands to run the utility's specific modules directly through npm:

1. Interactive Dashboard (TUI)

Launch the interactive console menu:

npm start

2. Deep System Scan & Cleanup

Scan for junk caches (including npm, Yarn, CocoaPods, Homebrew, pip, pnpm, uv, iOS Simulators, Spotify, VS Code, Slack, Firefox, etc.), temporary directories, and developer logs.

Features include:

  • Selective Cleaning: In interactive mode, select exactly which categories to clean.
  • Safety Whitelisting: Protects Xcode Archives and pnpm Store by default. Can be customized via a local whitelist.
# Run safe dry-run (scans but does not delete files)
npm run clean:dry

# Scan and clean up files (will prompt for confirmation or category choices)
npm run clean

# Auto-confirm and clean files immediately
npm run clean:force

3. Real-time System Telemetry

Run the live system performance monitor (CPU, RAM, Disk usage, battery, and uptime telemetry):

npm run status

4. Performance Optimizer Suite

Flush DNS cache, rebuild launch databases/font caches, refresh shells, and purge inactive memory:

# Run safe dry-run preview of optimizations
npm run optimize --dry-run

# Run active optimizations
npm run optimize

5. Disk Space Analyzer

Analyze directory folders to list the top 20 largest files and subdirectories:

npm run analyze

6. Smart Application Uninstaller

Search for applications and automatically clean up associated library leftovers:

npm run uninstall

7. Project Build Artifact Purger

Recursively search and bulk-purge project build artifacts (like node_modules, dist, build, target, .next, and .nuxt) within a selected directory:

npm run purge

⚙️ CLI Options

Any subcommand accepts the following optional flags:

  • --verbose — Print detailed command logs, execution paths, and raw system outputs.
  • --dry-run — Scan directories and calculate sizes without deleting files.
  • -y, --yes, --force — Skip confirmation prompts and delete files immediately.

Example of running a verbose dry-run scan via sesi:

# Load and run clean command with verbose dry-run options
sesi -l main.sesi clean --dry-run --verbose

# Or shorter version using alias via npm
npm run clean:dry:verbose

📂 Project Structure

  • main.sesi - The primary Sesi script containing cross-platform optimization, cleaning, and telemetry logic.
  • bin/ - Linter (lint.sesi) and test framework scripts.
  • helpers/ - Custom utility scripts for workspace management.
  • package.json - Dependency and script definitions.