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

namastejs

v2.0.1

Published

A spiritual greeting from your JavaScript code. Because every function deserves a 'Namaste ๐Ÿ™'

Downloads

78

Readme

๐Ÿ“š Table of Contents

โœจ What is namastejs?

A lightweight, fun, and powerful developer utility CLI. It started with a simple blessing and now supports real productivity tools like branch management, port killing, vault management, project cleaning, and more โ€” all accessible via npx.


npm version npm downloads license Code Style Gitlab last commit


โšก Quick Start

npx namastejs

๐Ÿ“ฆ Install (Optional)

npm install -g namastejs

๐Ÿงฐ CLI Features

| Feature | Command Example | Description | | ---------------------- | ---------------------------------------------- | ------------------------------------------------------------- | | ๐Ÿ’ฌ Dev Blessing API | require('namastejs').blessingForDev() | Use it in your apps to inject positive vibes into the console | | ๐Ÿ™ Default Greet | npx namastejs | Prints a dev blessing and a spiritual namaste quote | | ๐ŸŒง๏ธ Typing Game | npx namastejs typing-rain | Fun CLI typing rain game | | ๐ŸŒ Get Common Commands | npx namastejs get <serviceName> | Fetch commonly used command of a service directly in terminal | | ๐Ÿ”„ Branch Updater | npx namastejs update --my=feature --from=dev | Pulls & merges a source branch into your current working one | | ๐Ÿ”Œ Port Scanner | npx namastejs ports | Lists active local ports with process names and PIDs | | โŒ Kill a Port | npx namastejs ports --kill=3000 | Frees a stuck port instantly | | ๐Ÿ“Š Size Analyzer | npx namastejs size | Displays top 5 heaviest folders/files in your project | | ๐Ÿง˜ Breathing Timer | npx namastejs breathe | 60-second breathing animation for mental reset | | ๐Ÿ” Vault CLI | npx namastejs vault | Manage dev credentials (add/get/list/delete/clear) | | ๐Ÿšฟ Project Cleaner | npx namastejs clear | Deletes node_modules, dist, build, and cache folders | | โš™๏ธ Project Setup | npx namastejs setup | Installs dependencies, checks tools, creates .env if needed |


๐ŸŽฎ Typing Rain

A fast-paced CLI typing game where words rain from the top ๐ŸŒง๏ธ
Type the words before they hit the ground.

npx namastejs typing-rain
  • Destroy falling words by typing them correctly
  • Prevent words from touching the bottom
  • Score as high as possible before game over

| Key / Action | What it does | | ----------------- | ------------------------------------ | | Type word + Enter | Removes matching falling word | | Backspace | Edit input (disabled after score 10) | | Space | โธ๏ธ Pause / โ–ถ๏ธ Resume game | | Ctrl + C | Exit the game |

  • Words fall continuously from the top
  • Each missed word increases the Dropped count
  • โŒ 3 dropped words = Game Over
  • Game speed increases as score grows
  • After level-up, backspace is disabled

๐Ÿ“Š Size Analyzer

npx namastejs size                # Scan current directory for largest files/folders
npx namastejs size --path=C:\dev  # Scan a custom path (e.g., project directory or drive)

๐Ÿ” Vault Usage

npx namastejs vault add           # Add a service (GitHub, Netlify, etc.)
npx namastejs vault get github    # Get saved credentials
npx namastejs vault list          # List all stored services
npx namastejs vault delete github # Delete a specific service
npx namastejs vault clear         # Wipe the entire vault
  • Stored globally on your machine with safe (no-dependency) encryption.

๐Ÿ“ Setup Automation

npx namastejs setup

This command will ๐Ÿ‘‡

  • Check for required tools (git, node, npm)
  • Install dependencies
  • Create .env file from .env.sample (if available)

โค๏ธ Contribution

Want to improve namastejs or suggest a new feature?

  • Fork this project on GitLab: gitlab.com/hardik.47/namastejs
  • Submit an issue or merge request
  • Feature ideas? Use npx namastejs help and see whatโ€™s already built

โš’๏ธ Made with code and a lot of โค๏ธ by Hardik B Chaudhary โ€” may code bless you ๐Ÿ™