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

@sandeepk1729/jarvis

v0.4.5

Published

Jarvis is a CLI tool that lets you create custom aliases for commands and paths, so you can run complex commands using simple shortcuts.

Readme

Jarvis starline

CI PR lint Release

NPM Version NPM Downloads License

Jarvis is a CLI tool and npm package for creating custom command aliases. Instantly turn lengthy or complex shell commands into simple shortcuts, boosting your productivity in the terminal.


Features

  • Add Aliases: Map any shell command to an easy-to-remember alias, with optional directory path for execution.
  • Remove Aliases: Delete aliases you no longer need.
  • List Aliases: View all your defined aliases, including their execution paths.
  • Run Aliases: Execute commands using your defined shortcuts.
  • Silent Mode: Run commands without displaying output.

Installation

Install Jarvis globally from npm:

npm install -g @sandeepk1729/jarvis

Usage

Help

jarvis --help
Usage: jarvis [options] [command] <string...>

used to run alias commands

Arguments:
  string        alias command

Options:
  -V, --version  output the version number
  -s, --silent  run command silently
  -h, --help    display help for command

Commands:
  alias         Add a new alias
  remove        Remove an existing alias
  list          List all aliases

Adding an Alias

jarvis alias

You will be prompted:

  • What is the command to alias? (e.g. echo "hello world")
  • What is the alias command? (e.g. hello)
  • Is there any specific path for the command run? (e.g. /Users/SandeepK1729/Projects) (Optional - It will run in the current directory if not specified)

Example Interaction:

◇  What is the command to alias?
│  echo "hello world"
│
◇  What is the alias command ?
│  hello
│
◇  Is there any specific path for the command run? (Optional - It will run in the current directory if not specified)
│  /Users/SandeepK1729/Projects
│
◇  Added alias 'hello' to run command: 'echo "hello world"'

Running an Alias

jarvis hello

If a path was provided while creating the alias, the command runs in that directory; otherwise, it runs in the current working directory.

Output:

> Running command:
> echo "hello world"
> PID: 1234

"hello world"

Listing Aliases

jarvis list

Sample Output:

┌───────────┬────────────────────────────────────┬────────────────────────────────────────────────────────────────────────┐
│ (index)   │ command                            │ path                                                                   │
├───────────┼────────────────────────────────────┼────────────────────────────────────────────────────────────────────────┤
│ hello     │ 'echo "hello world"'               │ '/Users/SandeepK1729/Projects'                                         │
└───────────┴────────────────────────────────────┴────────────────────────────────────────────────────────────────────────┘

Removing an Alias

jarvis remove

You will be prompted to select which alias(es) to delete.

Example Interaction:

◇  Select aliases to delete
│  hello
│
◇  Removed alias 'hello'

Version Check

jarvis --version

This command will display the current version of Jarvis installed on your system.


License

MIT


Jarvis — Your personal command shortcut assistant!