1.0.1 • Published 7 months ago

pak-exchange v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

Pak Exchange CLI

Pak Exchange CLI is a simple currency exchange tool that allows you to convert between different currencies using the latest exchange rates, all from the command line.

Installation

You don't need to install Pak Exchange CLI separately; you can use it directly with npx:

npx pak-exchange

Usage

When you run the npx pak-exchange command, the tool will guide you through the currency conversion process using a series of prompts. Here's how to use it:

  1. Run the command:
npx pak-exchange
  1. Follow the on-screen prompts to perform the currency conversion:

    • Choose the source currency (the currency you want to convert from).
    • Choose the destination currency (the currency you want to convert to).
    • Enter the amount you want to convert.
  2. Pak Exchange CLI will calculate and display the converted amount.

Updating Exchange Rates

You can update exchange rates by modifying the index.ts file in the Pak Exchange CLI source code and adjusting the exchange rate values in the CurrencyExchange class.

License

This project is licensed under the ISC License. See the LICENSE file for details.

Author

Muhammad Kamran

Repository

Find the source code for Pak Exchange CLI on GitHub: Pak Exchange GitHub Repository

Dependencies

  • axios - Promise-based HTTP client for making requests.
  • chalk - Terminal string styling.
  • inquirer - Interactive command-line prompts.
  • typescript - JavaScript superset for static typing.

Development Dependencies

Thank you for using Pak Exchange CLI! If you have any questions or encounter issues, please feel free to reach out.

This README.md file is specifically tailored for users who want to use your `npx pak-exchange` command-line tool. It provides instructions on how to use the tool, how to update exchange rates, and where to find more information about the project.
1.0.1

7 months ago

1.0.0

7 months ago