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

ayushdhiman

v1.1.0

Published

Ayush Dhiman's CLI Portfolio

Readme

Ayush Dhiman CLI Portfolio

npm version License: MIT Node.js PRs Welcome

A super cool, interactive CLI tool to get to know Ayush Dhiman with animated ASCII art, system information, and secure messaging functionality! 🚀✨

🎯 Features

  • 🚀 Zero Setup: Install and use immediately - no configuration needed
  • 💬 Secure Messaging: Send messages with built-in JWT authentication
  • 🎮 Interactive Games: Play games and compete on global leaderboards
  • 🎨 Beautiful UI: Rainbow ASCII art with smooth animations
  • 📊 Real-time System Info: Live system monitoring and display
  • 🌍 Cross-Platform: Works on Windows, macOS, and Linux
  • ⚡ Fast & Responsive: Optimized for quick loading and smooth experience
  • 📱 Mobile Friendly: QR codes for easy mobile access

🚀 Quick Start

No setup required! Just install and start using immediately:

# Install globally
npm install -g ayushdhiman

# Or run directly with npx
npx ayushdhiman

📋 Available Commands

Core Commands

ayushdhiman                # Interactive portfolio with system info
ayushdhiman help          # Show all available commands
ayushdhiman website       # Show website URL
ayushdhiman email         # Show contact email
ayushdhiman skills        # Display comprehensive tech stack
ayushdhiman qr            # Generate QR code for website
ayushdhiman sysinfo       # Detailed system information

Interactive Features

ayushdhiman message       # Send a secure message
ayushdhiman games         # Play interactive games
ayushdhiman leaderboard   # View global game leaderboard

Developer Commands

ayushdhiman host setup-keys  # Generate authentication keys (maintainers only)
ayushdhiman host help        # Show host-specific commands

🎮 Games & Leaderboard

The CLI includes several interactive games with a global leaderboard:

| Game | Description | |------|-------------| | 🧩 Maze Solver | Navigate through procedurally generated mazes | | 🧠 Memory Game | Remember and repeat sequences | | 🔢 Math Challenge | Quick arithmetic problems | | ⌨️ Typing Speed Test | Test your WPM and accuracy |

All scores are automatically submitted to the global leaderboard!

🛠️ Technical Stack

  • Runtime: Node.js 16+
  • Backend: Cloudflare Workers (serverless)
  • Authentication: RSA JWT tokens
  • Storage: Cloudflare KV (key-value store)
  • CLI Libraries: Commander.js, Inquirer.js, Chalk, Boxen
  • System Info: systeminformation

🔧 Requirements

  • Node.js 12 or higher
  • Terminal with color support (for best experience)
  • Internet connection (for messaging and leaderboard features)

📦 Installation

Global Installation

npm install -g ayushdhiman

Direct Usage (No Installation)

npx ayushdhiman

Development Setup

# Clone the repository
git clone https://github.com/AyushDhimann/ayushdhiman-cli.git

# Install dependencies
cd ayushdhiman-cli
npm install

# Test locally
node bin/ayushdhiman.js

🏗️ Architecture

┌─────────────────┐    ┌─────────────────┐    ┌─────────────────┐
│                 │    │                 │    │                 │
│   CLI Package   │───▶│ Cloudflare      │───▶│ Message         │
│                 │    │ Worker          │    │ Channel         │
│                 │    │                 │    │                 │
└─────────────────┘    └─────────────────┘    └─────────────────┘
         │                       │                       │
         │                       │                       │
         ▼                       ▼                       ▼
┌─────────────────┐    ┌─────────────────┐    ┌─────────────────┐
│                 │    │                 │    │                 │
│  Private Key    │    │  Public Key     │    │  Secrets        │
│  (bundled)      │    │  (hardcoded)    │    │  (env vars)     │
│                 │    │                 │    │                 │
└─────────────────┘    └─────────────────┘    └─────────────────┘

🔐 Security

This CLI uses RSA JWT authentication with the following security model:

  • Private Key: Bundled with the npm package for token generation
  • Public Key: Hard-coded in the Cloudflare Worker for verification
  • JWT Tokens: Short-lived (1 minute TTL) for API requests
  • Environment Variables: Sensitive data stored as Worker secrets

Note: The private key is public (visible in npm package) which is acceptable for this use case as it only protects non-sensitive portfolio interactions.

🤝 Contributing

Contributions are welcome! Here's how you can help:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes
  4. Run tests: npm test
  5. Commit your changes: git commit -m 'Add amazing feature'
  6. Push to the branch: git push origin feature/amazing-feature
  7. Open a Pull Request

Development Guidelines

  • Follow the existing code style
  • Add tests for new features
  • Update documentation as needed
  • Keep commits atomic and well-described

📄 License

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

👤 Author

Ayush Dhiman

📈 Stats

🙏 Acknowledgments

  • Thanks to all contributors and users
  • Inspired by various CLI tools in the Node.js ecosystem
  • Special thanks to the open-source community