andersbekkevard
v1.0.0
Published
Anders Bekkevard's personal NPX business card
Downloads
2
Maintainers
Readme
Anders Bekkevard - NPX Business Card
A personal business card that runs in the terminal via NPX.
Usage
npx andersbekkevardDevelopment
Project Structure
index.js- Main business card (clean, production-ready)menu.js- Interactive menu functionality (modular, optional)package.json- NPM package configuration
Enabling Interactive Menu
To add interactive menu functionality:
Install dev dependencies:
npm installUncomment the import in
index.js:import { showInteractiveMenu } from "./menu.js";Uncomment the menu activation in
index.js:console.log(colors.subdued("\nTip: Try option + click on the links above")); await showInteractiveMenu();Update package.json dependencies: Move
inquirerfromdevDependenciestodependenciesAdd menu.js to files array in package.json:
"files": ["index.js", "menu.js"]
Publishing
npm login
npm publishFeatures
- 🎨 Colorful Design - Cyan and magenta accent colors
- 📱 Responsive Layout - Dynamic width calculation
- 🔗 Clickable Links - Works in compatible terminals
- 🚀 Fast & Lightweight - Only ~2KB package size
- 🔧 Modular - Easy to enable/disable interactive features
License
MIT
