crypto-fiat

1.0.1 • Public • Published

installation

npm install -g crypto-fiat

token symbol (above the price)

token symbol postion

get 1 token price in usd

crypto-fiat --tokens="ETH" --apikey="key here"
# 1 ETH        = 1602.59773918858 USD

get multiple token prices in usd

crypto-fiat --tokens="ETH, MATIC, BAT, BCT" --apikey="key here"
# 1 ETH        = 1602.59773918858 USD
# 1 MATIC      = 0.8104231677387381 USD
# 1 BCT        = 1.8929650368687083 USD
# 1 BAT        = 0.3658860492317096 USD

1 BTC = ? ETH

crypto-fiat --tokens="BTC:ETH" --apikey="key here"
# 1 BTC        = 13.386323076847496 ETH

1 ETH = ? TND

crypto-fiat --tokens="ETH:TND" --apikey="key here"
# 1 ETH        = 5074.115124903678 TND

List of fiat currencies

Package Sidebar

Install

npm i crypto-fiat

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

3.13 kB

Total Files

5

Last publish

Collaborators

  • rami-majdoub