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 🙏

© 2025 – Pkg Stats / Ryan Hefner

command-profiler

v1.0.0

Published

Scoped command profiles for project & global usage

Readme

Command-Profiler 🚀 NPM version NPM downloads

Scoped command profiles for the lazy (and efficient) developer in all of us.


What is Command-Profiler?

Tired of juggling a million terminal commands across projects? Wish you could magically summon the exact set of commands you need — whether you’re working on a project or just doing your global thing?

Command-Profiler has got your back.

It’s a CLI tool that helps you create, edit, delete, and run profiles — think of them as command playlists — scoped either per project or globally across your system.


Why use Command-Profiler?

  • 🚀 Project or global scope: Use project-specific command bundles or go global if you’re feeling adventurous.
  • 🎯 Keep your workflow clean: No more hunting through your shell history or guessing commands.
  • 🧙‍♂️ Wizardry with a twist: Profiles are collections of commands you run with a single keyword. Boom!
  • ✂️ Edit/Delete: Change your mind? Edit or delete profiles without breaking a sweat.
  • Run anytime: Fire off your favorite command combos instantly.

Installation

npm install -g command-profiler

Quickstart

🧰 init — Initialize a config in your current project

Before using command-profiler inside a project, you can run:

npx cmdprofiler init

This will create a local configuration for your project:

your-project/ ├── cmdprofiler/ │ └── config.json

The config.json will look like this:

{ "profiles": {} }

Once initialized, any profiles you create from this folder (and any subfolders) will be stored locally in that cmdprofiler/config.json file — not in your global config. 🎯

Create a profile

npx cmdprofiler create dev

You’ll be prompted to enter commands one-by-one. Press enter on an empty line when done.


List profiles

npx cmdprofiler list

Run a profile

npx cmdprofiler run dev

Edit a profile

npx cmdprofiler edit dev

Delete a profile

npx cmdprofiler delete dev

Quick usage

📘 Full Usage Flow in a Project

Go into your project folder:

cd ~/Projects/my-awesome-app

Run the init command:

npx cmdprofiler init

Create your first profile:

npx cmdprofiler create dev

List and run it:

npx cmdprofiler list
npx cmdprofiler run dev

Now you're flying. 🛫

Pro Tips 🧠

  • Use --global flag to manage global profiles:
npx cmdprofiler list --global
npx cmdprofiler create deploy --global
  • Profiles are stored in:

    • Project scope: cmdprofiler/config.json in your project root (or nearest ancestor folder)
    • Global scope: ~/cmdprofiler/config.json
  • You can add any shell commands you want — from npm run build to docker-compose up.


Final Words

If you’re the type who likes to automate, simplify, and impress your future self — command-profiler is your new best friend. Make your terminal less talk, more action.


ABOUT THE AUTHOR

** cinfinit** — believes in clean code, minimal commands, and maximal productivity. When not coding, probably pondering the meaning of life… or the perfect CLI UX.