New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

pratham

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pratham

This is a Terminal-based Introduction for Pratham

latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
0
Created
Source

Here's your updated README.md file with the correct commands based on your package.json configuration.

# 🚀 Pratham's CLI Card

A simple and interactive CLI card showcasing **Pratham Saxena's** profile, skills, work experience, and projects.  
This tool runs in the terminal and provides an elegant way to share your professional details.

---

## 📌 Features
- Displays an interactive CLI card with Pratham's profile.
- Highlights work experience, tech stack, and featured projects.
- Easily executable via Node.js.

---

## 🚀 Installation & Usage

### **1️⃣ Prerequisites**
Ensure you have **Node.js** installed on your system.  
If not, download it from [Node.js Official Website](https://nodejs.org/).

### **2️⃣ Clone the Repository**
```sh
git clone https://github.com/your-username/your-repo.git
cd your-repo

3️⃣ Install Dependencies

npm install

4️⃣ Run the CLI Card

node index.js

OR, after making it globally executable:

chmod +x index.js
./index.js

5️⃣ Run as a CLI Command

Since you have defined "bin": { "meet-pratham": "./index.js" } in package.json,
you can run it as a command after installing it globally:

npm link
meet-pratham

📦 Deploying & Republishing

1️⃣ Make Changes

Modify index.js as needed, then test it using:

node index.js

2️⃣ Publish as an NPM Package

To publish your CLI card as an NPM package, follow these steps:

  • Login to NPM (If not logged in)
    npm login
    
  • Ensure package.json is Correct
    • Update the "repository" field:
      "repository": {
        "type": "git",
        "url": "https://github.com/prathamsaxen/meet-pratham"
      }
      
    • Update "homepage":
      "homepage": "https://prathamsaxena.dev"
      
  • Publish the package
    npm publish --access public
    

3️⃣ Install & Use the Published Package

Once published, you (or anyone) can install and run the CLI card globally using:

npm install -g pratham
meet-pratham

🔄 Updating & Redeploying

If you've made changes and want to update the package:

  • Bump the version in package.json
    Example:
    "version": "1.1.0"
    
  • Re-publish the package
    npm publish
    

🎯 Future Enhancements

  • Add interactive prompts for different sections.
  • Implement ASCII art or animations.
  • Convert it into a full-fledged CLI tool.

📬 Connect with Me

📍 GitHub 📍 LinkedIn
📍 Portfolio
📍 Email

Made with ❤️ by Pratham Saxena

Keywords

CLI

FAQs

Package last updated on 05 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts