Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/devmianharoon/currency-converter


https://github.com/devmianharoon/currency-converter

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Currency Conversion CLI Application

This is a TypeScript command-line interface (CLI) application that allows you to convert an amount in Indian Rupees (Rs) to four different currencies: USD, Riyal, Pound, and Dinar. It also provides an option to continue or exit the program.

## Prerequisites

Before using this application, you should have Node.js and npm (Node Package Manager) installed on your computer.

## Installation

1. Clone this repository to your local machine or download the source code.

`git clone https://github.com/devmianharoon/currency-converter.git`

2. Navigate to the project directory:

`cd currency-converter`

3. Install the required dependencies using npm:

`npm install`

## Usage

To run the currency conversion application, execute the following command:

`npm start`

The application will prompt you for the following information:

1. The amount in Pakistani Rupees (Rs) that you want to convert.
2. The target currency (USD, Riyal, Pound, or Dinar) to which you want to convert.

After providing these details, the application will display the converted amount in the selected currency. You can choose to perform more conversions or exit the program.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Acknowledgments

- This project uses the [inquirer](https://www.npmjs.com/package/inquirer) library for command-line user interactions.