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 🙏

© 2024 – Pkg Stats / Ryan Hefner

command-stash

v1.6.1

Published

console help tool for save, list and retrive to clipboard your important shell commands

Downloads

23

Readme

stash_logo

Build Status Dependency Status

node-cmd-stash

Usefull tool for:

  • save
  • list
  • retrive (to clipboard)
  • delete
  • export to stash cloud
  • import from stash cloud
  • manage list groups (packs)
  • execute

your important shell commands.

Install

npm install -g command-stash

NOTE: For "copy to clipboard" functionality you need, xclip (for Linux, FreeBSD, and OpenBSD), and clip (for Windows). Pbcopy/pbpaste already installed on OSX.

Currently only works with nodejs >= v6.9.3 due ES6 use.

Usage

output

#stash some commands 
#NOTE: stash [push | p] <command> olso works

stash docker run -d --hostname MQ37 --name mq37 -p 5672:5672 f00f2babc0bd
stash "for i in {1..40}; do node ./publisher.js; done"
stash sudo nmap -n -PN -sT -sU -p- remote_host

# list stashed commands:
stash [list | l]

# get a stashed command copied to your clipboard:
stash [get | g] <id>

# remove a stashed command from the list:
stash pop <id>

# Now you can have all your packs anywhere, ask for a beta token!

# export packs and stashed commands to stash.cloud :
stash export <token> 

# import packs and stashed commands from stash.cloud:
stash import <token> 

# exec a stashed command:
stash [exec | run] <id>

# Run detached, optional custom stdout filepath redirection:
stash [exec | run] <id> detached <stdout_filepath :: defaults to './<id>.out' >

# list packs of stashed commands:
stash pack list

# Switch between packs:
stash pack switch <id|name>

# Add a new pack:
stash pack add <name>

# Remove a entirly pack:
stash pack remove <id>

Changelog

1.6.0:

Stash save action is now deprecated, since anonymous gist creation was removed.

Save is intended to be replaced by export and import actions. Just ask me for a TOKEN, stash.cloud service is up.

List action, now prints without line overflow.

Updated sqlite3 dep.

1.5.0:

Added autocompletion generation and install (for Bash and Zsh).

Now, stash notifies when a new release of the tool is available for update.

1.4.0:

Running commands within stash is more stable.

Now, you can run commands detached, and specify the stdout piping file path.

1.3.0:

Added "packs" functionality.

Added "exec" option.

General code refactory.

ESlint.

postinstall migration script for safe 1.2.0 to 1.3.0 update.

1.2.0:

Added "save" option.

This publish your current command stash at a anonymous gist via the github api and retrives the link to your cb.

Added options aliases.