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

@dev_desh/hints

v0.0.4

Published

Smart terminal command hints for developers. Get intelligent explanations for commands and flags as you type.

Readme

Hints - Smart Terminal Command Assistant

Get intelligent hints for terminal commands as you type them. Like IntelliSense for your shell!

{Partially vibe coded}

🚀 What it does

Hints provides real-time explanations for terminal commands and their flags. Instead of googling "what does docker exec -it do?", just press Ctrl+H and get instant help.

✨ Features

  • 🎯 Manual Trigger: Press Ctrl+H while typing to see hints
  • 📚 Comprehensive Database: 50+ commands with detailed flag explanations
  • 🔍 Smart Parsing: Understands combined flags like -la, subcommands like git commit
  • 🎨 Beautiful Output: Clean, readable hints that don't clutter your terminal
  • ⚡ Fast: Cached parsing for instant responses

📦 Installation

# Install globally
npm install -g @dev_desh/hints

# Set up shell integration (adds Ctrl+H trigger)
hints install
source ~/.zshrc  # or restart terminal

🎯 Usage & Examples

Learning flags step by step:

$ ls -a
  -a - include hidden files (.*)
 Try: -l (detailed list)  -h (readable sizes)
$ ls -ah
  -a - include hidden files (.*)
  -h - human-readable sizes (1K, 5M)
 Try: -l (detailed list)  -t (newest first)
$ ls -ahl
  -a - include hidden files (.*)
  -h - human-readable sizes (1K, 5M)
  -l - long format (permissions, owner, size, date)
 Try: -t (newest first)  -R (recursive directory listing)

Docker commands made easy:

$ docker exec -it container bash
 exec - Execute command in running container
  -i - interactive (keep STDIN open)
  -t - allocate pseudo-TTY
 Try: -u (specify user)  -w (working directory)

Git workflow assistance:

$ git commit -am "fix bug"
 commit - Record changes to repository
  -a - automatically stage all modified files
  -m - commit message
 Try: --amend (modify last commit)  -v (show diff)

Database commands:

$ psql -U postgres -d myapp
 psql - PostgreSQL interactive terminal
  -U - database username
  -d - database name to connect to
 Try: -h (database server host)  -p (server port)

📋 Supported Commands

🗂️ File & Navigation (10 commands)

  • ls, cd, pwd, mkdir, rm, mv, cp, find

🌿 Git (7 commands)

  • git, commit, push, pull, branch, status, log

🐳 Docker (8 commands)

  • docker, run, exec, ps, build, logs, stop, images

📦 Package Managers (3 commands)

  • npm, install, start

🗄️ Database Tools (3 commands)

  • psql, mysql, mongosh

⚙️ System & Process (5 commands)

  • kill, pgrep, pkill, grep

🔧 Commands

hints explain <command>     # Explain any command directly
hints install              # Install shell integration (Ctrl+H)
hints uninstall            # Remove shell integration
hints status               # Check installation status
hints cleanup              # Clean up after uninstall

🎨 How it works

  1. Type your command: Start typing any supported command
  2. Press Ctrl+H: See instant explanations for your flags
  3. Learn as you go: Discover new flags with helpful suggestions
  4. Build confidence: Understand what each flag does before running

🛠️ Development

git clone <repo>
cd hints
bun install
bun run build
bun run link

📝 Contributing

Have ideas for new commands or better explanations? PRs welcome!

📄 License

MIT License - feel free to use this in your projects!