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

convert-apps-to-homebrew

v1.5.0

Published

A CLI tool for macOS that automatically discovers applications in your /Applications directory and converts them to Homebrew-managed installations.

Readme

Convert Apps To Homebrew

NPM Version NPM License Node Current Bun version GitHub top language Checked with Biome

A CLI tool for macOS that automatically discovers apps in your /Applications directory and converts them to Homebrew-managed installations, i.e. convert apps to brew.

Screenshot

Features

  • Automatic Discovery: Scans /Applications directory and identifies available Homebrew packages
  • Interactive Selection: Checkbox interface for selecting apps to install
  • Dry-Run Mode: Preview changes without executing them
  • Flexible Filtering: Pre-ignore specific applications and/or App Store apps

Quick Start

Installation

Run directly with npx (recommended)

npx convert-apps-to-homebrew@latest

Or install globally

npm install -g convert-apps-to-homebrew
convert-apps-to-homebrew

Requirements

  • macOS 10.15+: This tool is designed specifically for macOS
  • Node.js 16+: Required for running the application (bun required for development)
  • Homebrew: Must be installed and accessible in PATH
  • mas-cli (optional): For Mac App Store integration - install with brew install mas
    • Required for detecting if apps are installed via Mac App Store.

Command-line options

| Option | Description | Example | | --------------------------- | -------------------------------------------------------------------------------------- | ----------------------------------------------------------- | | --ignore <apps...> | Ignore specific applications | --ignore "Adobe Photoshop" "Microsoft Word" google-chrome | | --ignore-app-store | Ignore apps installed via App Store (requires mas) | | | --dry-run | Preview changes without executing | | | --verbose | Enable detailed logging | | | --applications-dir <path> | Custom applications directory | --applications-dir /Applications | | --help | Show help information | | | --version | Show version number | |

Development

This project is based on my Bun TS CLI Starter.

bun-ts-cli-starter

Building from source

# Clone the repository
git clone https://github.com/deepfriedmind/convert-apps-to-homebrew.git
cd convert-apps-to-homebrew

# Install dependencies
bun install

# Run the project
bun start

# Build the project
bun run build

# Run tests
bun test

# Run tests with coverage
bun test --coverage

# Run all checks
bun run check

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

Development guidelines

  1. TypeScript: All code must be written in TypeScript
  2. Testing: New features must include comprehensive tests
  3. Documentation: Update README.md for new features
  4. Code Style: Follow the existing code style and linting rules

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Homebrew - The missing package manager for macOS
  • Commander.js - Command-line interface framework
  • Consola - Elegant Console Logger for Node.js and Browser

Troubleshooting

Common Issues

"Homebrew is not installed"

Install Homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

"Node.js version <installed version> is not supported. Please use Node.js <required version> or later."

Install latest Node.js:

brew install node

"Permission denied"

  • Ensure you have read access to /Applications
  • Homebrew's --adopt flag is used to manage existing applications

"No applications found"

  • Check that applications exist in /Applications
  • Try using --applications-dir to specify a different path

For more help, run with --verbose flag for detailed error information.