bureau-de-change
v1.0.3
Published
Fast CLI currency converter
Readme
Bureau de change
A lightning-fast, terminal-based (CLI) currency converter. Get real-time exchange rates and market trends directly from your command line without any complicated setups.
Features
- Real-time Conversion: Accurate and up-to-date currency exchange rates.
- Market Trends: Check the recent performance and daily trend between currency pairs.
- Developer Friendly: Natural language syntax support (e.g.,
100 USD to EUR). - Extensive Support: Supports over 160+ global currencies.
Installation
Install the package globally using npm to access the bureau command from anywhere:
npm install -g bureau-de-changeUsage
Once installed, use the bureau command followed by your desired action.
1. Exchange Currencies
Convert an amount from one currency to another. You can optionally use to or for to make it read naturally.
Syntax:
bureau exchange <amount> <base_currency> [to|for] <target_currency>Examples:
bureau exchange 100 USD EUR
bureau exchange 100 USD to EUR
bureau exchange 50 GBP for JPY2. View Market Trends
Check how a specific currency pair performed compared to the previous trading day.
Syntax:
bureau trend <base_currency> <target_currency>Example:
bureau trend USD EUROutput:
+0.15% | USD/EUR
Yesterday: 0.9231
Today: 0.92453. List Supported Currencies
View a beautifully formatted table of all 160+ supported 3-letter currency codes.
bureau --listLicense
This project is licensed under the MIT License.
