exchangexpert-cli
v1.0.2
Published
This is a simple command-line tool built with Node.js that allows users to convert currency values. It utilizes the Inquirer.js library for interactive prompts and the node-fetch library for making HTTP requests to fetch currency conversion data from an e
Downloads
1
Readme
Currency Converter CLI
This is a simple command-line tool built with Node.js that allows users to convert currency values. It utilizes the Inquirer.js library for interactive prompts and the node-fetch library for making HTTP requests to fetch currency conversion data from an external API.
This project give users real-time currency rate tracking and seamless currency conversions. With an intuitive interface powered by Inquirer.js and APIs for accurate data, users can quickly convert between 150+ Currencies, Including Common Cryptocurrencies, making it an essential tool for travelers, businesses, and anyone needing instant currency exchange solutions.
Installation
// For Global Installation
npm install -g exchangexpert-cli
OR
// For Local Installation
npm i exchangexpert-cli
OR
// For running package without installation
npx exchangexpert-cli
Features
- Select the currency you want to convert from.
- Choose the currency you want to convert to from a list of available options.
- Enter the amount to convert.
- Get the converted currency value.
Installation
- Clone this repository to your local machine.
- Navigate to the project directory.
- Run
npm install
to install the required dependencies.
Usage
- Run
node index
in your terminal to start the application. - Follow the prompts to select the currency to convert from, choose the currency to convert to, and enter the amount to convert.
- The converted currency value will be displayed in the console.
Example
? Select your currency to convert From: USD ? Select your currency to convert To: EUR ? Enter amount to convert: 100 250.97
Technologies Used
- Node.js
- Inquirer.js
- node-fetch
Credits
- Inquirer.js
- node-fetch
- Currency data provided by Fawaz Ahmed's Currency API
License
This project is licensed under the MIT License.