An open API service indexing awesome lists of open source software.

https://github.com/bittricky/business-card

A command-line business card 🪪
https://github.com/bittricky/business-card

business-card chalk cli javascript nodejs npm npm-package typescript yargs

Last synced: 3 months ago
JSON representation

A command-line business card 🪪

Awesome Lists containing this project

README

          

# Business Card

A command-line business card that displays my contact information and social links.

![Mitul Patel's Business Card](https://github.com/bittricky/business-card/blob/main/docs/mitul_patel_business_card.png)

## Prerequisites

Before you begin, ensure you have met the following requirements:

- [Node.js](https://nodejs.org/) version 14.16 or higher
- [npm](https://www.npmjs.com/) (comes with Node.js) or [yarn](https://yarnpkg.com/) package manager

Note: This package is built with TypeScript and uses modern JavaScript features, so make sure you have a compatible Node.js version installed.

## Installation

You can run this package using npx:

```bash
npx bittricky
```

Or install it globally:

```bash
yarn global add bittricky
```

## Usage

After installing globally, you can use the following commands:

```bash
# Display the business card
bittricky

# Open resume in default browser
bittricky resume

# Open showcase in default browser
bittricky showcase
```

### Options

- `--help`: Show help information
- `--version`: Show version information

## Development

1. Clone the repository:

```bash
git clone https://github.com/bittricky/business-card.git
cd business-card
```

2. Install dependencies:

```bash
yarn install
```

3. Start development mode:

```bash
yarn dev
```

4. Build the package:

```bash
yarn build
```

### Testing

- Run tests: `yarn test`
- Run tests with coverage: `yarn test:coverage`
- Run tests with specific path: `yarn test:path `

## Publishing

You can publish a new version using one of the following commands:

```bash
# Patch version (1.0.0 -> 1.0.1)
yarn publish:patch

# Minor version (1.0.0 -> 1.1.0)
yarn publish:minor

# Major version (1.0.0 -> 2.0.0)
yarn publish:major
```

## License

MIT

@author [Mitul Patel](https://www.mitulpa.tel/)