Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devmianharoon/currency-converter
https://github.com/devmianharoon/currency-converter
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devmianharoon/currency-converter
- Owner: devmianharoon
- Created: 2023-10-12T10:06:26.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-12T10:20:24.000Z (about 1 year ago)
- Last Synced: 2023-10-13T05:03:07.203Z (about 1 year ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.