UNPKG

tirthhhh

Version:

Tirth Dhandhukia's terminal portfolio, viewable via npx.

37 lines (29 loc) 954 B
#!/usr/bin/env node import chalk from 'chalk'; import boxen from 'boxen'; const portfolio = { name: 'Tirth Dhandhukia', title: 'Full Stack Developer', github: 'https://github.com/tirth', website: 'https://tirth.dev', email: 'tirth@example.com', linkedin: 'https://linkedin.com/in/tirth', twitter: 'https://twitter.com/tirth' }; const card = chalk.bold(` ${chalk.blue(portfolio.name)} ${chalk.gray(portfolio.title)} ${chalk.cyan('GitHub:')} ${portfolio.github} ${chalk.cyan('Website:')} ${portfolio.website} ${chalk.cyan('Email:')} ${portfolio.email} ${chalk.cyan('LinkedIn:')} ${portfolio.linkedin} ${chalk.cyan('Twitter:')} ${portfolio.twitter} ${chalk.green('Thanks for checking out my portfolio!')} ${chalk.gray('Run again with:')} ${chalk.yellow('npx tirthhhh')} `); console.log(boxen(card, { padding: 1, margin: 1, borderStyle: 'round', borderColor: 'blue' }));