zs911-currency-converter
v2.0.0
Published
Sure, here's a basic README content for your Node.js currency converter script:
Readme
Sure, here's a basic README content for your Node.js currency converter script:
Currency Converter
This is a simple currency converter command-line tool written in Node.js using the Inquirer.js library for interactive prompts.
Features
- Converts between different currencies based on the latest exchange rates.
- Supports conversion between USD, EUR, GBP, INR, and PKR.
- Provides an interactive interface for easy input.
Installation
Clone the repository or download the source code.
Make sure you have Node.js installed on your system.
Install dependencies using npm:
npm install
Usage
To use the currency converter, simply run the script using Node.js:
node currency_converter.jsFollow the on-screen prompts to enter the source currency, target currency, and the amount you want to convert.
Example
$ node currency_converter.js
? Enter From Currency! (Use arrow keys)
❯ USD
EUR
GBP
INR
PKR
? Enter To Currency! (Use arrow keys)
❯ USD
EUR
GBP
INR
PKR
? Enter Your Amount! 100
Converted Amount: 100 USD is approximately 87.88 EURExchange Rates
Exchange rates used in this converter are approximate and may vary from actual rates.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to adjust or expand upon this README to suit your needs!
