curre-fsency-conv-erter
v1.2.0
Published
a Node.js command-line application that allows users to convert amounts between various currencies.
Downloads
6
Readme
README for Currency Converter Project Project Name: Currency Converter
Description: Currency Converter is a Node.js command-line application that allows users to convert amounts between various currencies. The application uses the ExchangeRate-API to fetch real-time currency conversion rates.
Installation:
Clone this repository to your local machine. Navigate to the project directory. Run npm install to install the necessary dependencies, including axios. Usage: To convert currency, run:
css Copy code node index.js convert --from USD --to EUR --amount 100 This will convert 100 USD to EUR using the current exchange rate.
API Key: You need to obtain a free API key from ExchangeRate-API and set it as an environment variable named EXCHANGE_RATE_API_KEY.
Dependencies:
axios for making HTTP requests. dotenv for managing environment variables. Contributing: Contributions are welcome! Please fork the repository and submit a pull request with your proposed changes.
License: This project is licensed under the MIT License - see the LICENSE file for details.