create-intro-card
v1.0.0
Published
Generate your own npx introduction card package
Downloads
9
Maintainers
Readme
create-intro-card
Generate your own npx introduction card — a terminal-based business card that anyone can view by running a single command.
Inspired by hello-haimantika.
What It Does
This tool asks you a few questions (name, bio, links) and generates a ready-to-publish npm package. Once published, anyone can run:
npx your-package-nameAnd see your introduction card right in their terminal!
Quick Start
npx create-intro-cardYou'll be prompted for:
- Your name
- A short bio
- Links (Twitter/X, LinkedIn, GitHub, Website — all optional)
- Package name (this becomes your
npxcommand, e.g.hello-yourname)
The tool generates a folder with three files:
hello-yourname/
├── index.js # Your intro card script
├── package.json # npm package config
└── README.md # Publishing instructionsPublishing Your Card
After generating your package:
# 1. Go into the generated folder
cd hello-yourname
# 2. Preview it locally
node index.js
# 3. Log in to npm (create an account at npmjs.com if needed)
npm login
# 4. Publish!
npm publishThat's it! Share your card with the world:
npx hello-yournameExample Output
+--------------------------------------------------------------+
| |
| Haimantika |
| |
| Developer Advocate. Frontend hacker, community builder. |
| |
+--------------------------------------------------------------+
| |
| Twitter/X: https://twitter.com/HaimantikaM |
| LinkedIn: https://linkedin.com/in/haimantika-mitra/ |
| Website: https://haimantika.com |
| |
+--------------------------------------------------------------+Development
# Clone the repo
git clone https://github.com/Haimantika/custom-npm-introduction.git
cd custom-npm-introduction
# Run locally
node index.js
# Link for local npx testing
npm link
npx create-intro-cardLicense
MIT
