@brijesh18/cryptocli
v1.0.2
Published
A CLI tool for managing cryptocurrency prices
Readme
💰 CryptoCLI
A Command-Line Interface (CLI) tool for checking cryptocurrency prices and managing cryptocurrency settings with ease. Built using Node.js, this tool fetches live data from Binance API and allows you to check the price of various coins in different currencies.
✨ Features
- 📈 Check the price of specific coins.
- 🌐 Filter prices by different currencies (USD, EUR, JPY, INR, etc.).
- 🔝 View the top 5 and top 20 coins based on their price.
- 🖥️ Easy to use command-line interface.
📦 Installation
You can install this CLI globally or locally in your project.
🌍 Global Installation
To install it globally, run the following command:
npm install -g @brijesh18/cryptocliAfter installation, you can use the coindex command in your terminal.
📂 Local Installation
To install it locally in your project, run:
npm install @brijesh18/cryptocliThen, you can run the commands by using npx:
npx coindex <command>🚀 Usage
After installation, you can use the following commands:
💵 Check Price
Check the price of a specific coin.
coindex check price --coin BTCReplace BTC with the coins you want to check.
💰 Check Price-All
Check the prices of all available coins in the selected currency.
coindex check price-all🔝 Check Price20
Check the top 20 coins based on their prices.
coindex check price20🔝 Check Price5
Check the top 5 coins based on their prices.
coindex check price5📜 Commands
check price: Check the price of specific coins.check price-all: Check the price of all available coins.check price20: View the top 20 coins based on price.check price5: View the top 5 coins based on price.
📝 Example
$ coindex check price --coin BTC
Prices in USD ($):
#1 Symbol: BTCUSDT | Price: $ 44970.000🌍 Currency Options
- USD ($)
- JPY (¥)
- EUR (€)
- NGN (₦)
📄 License
MIT License. See LICENSE file for more details.
