Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including cryptocurrency-cli with all npm packages installed. Try it out:

var cryptocurrencyCli = require("cryptocurrency-cli")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

cryptocurrency-cli v1.4.3

Cryptocurrency CLI

Cryptocurrency CLI lets you monitor cryptocurrencies in your portfolio and track your earnings through the command line. It uses the coinmarketcap.com API to fetch crypto data.

Cryptocurrency CLI

Features

General

  1. Command Line Interface
  2. Supports all coins on CoinMarketCap
  3. Track your portfolio holdings
  4. Currency Support

Bar Graph

  1. Percentage breakdown of holdings
  2. Colored Horizontal Bars
  3. Portfolio value

Crypto Table

  1. Coin Rank
  2. Price
  3. Coins Owned
  4. Net Worth
  5. 24 Hour Volume
  6. Market Cap
  7. % Change 1 Hour
  8. % Change 1 Day
  9. % Change 1 Week
  10. Last Updated

Installation Instructions

  1. Git Clone the repo

    git clone https://github.com/christ0ph3r/cryptocurrency-cli/
    
  2. Enter the repository

    cd cryptocurrency-cli && npm install
    
  3. Run

    npm start
    
  4. Edit portfolio.json

    {
      "bitcoin": ".002",
      "bitcoin-cash": ".002",
      "chainlink": "666",
      "dash": ".002",
      "dogecoin": "10000",
      "ethereum": ".0688",
      "litecoin": ".1",
      "monero": ".0036",
      "siacoin": "1200",
      "steem": "2"
    }
    

Command Line Options

Currency: You can use -c or --currency to look up crypto data in another currency. The default currency is USD and the API supports AUD, BRL, CAD, CHF, CLP, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, ILS, INR, JPY, KRW, MXN, MYR, NOK, NZD, PHP, PKR, PLN, RUB, SEK, SGD, THB, TRY, TWD, ZAR.

npm start -- -c eur
npm start -- -c aud

Donations Welcome

CoinAddress
Bitcoin1LFTccjYHbiVekdm8XYC1ucNqdGsAC3frc
Bitcoin Cash132iaE6MYW3hpupuyzA8AKVmYk7SAbrAA1
Ethereum0x071Fe2Bb50430A3f6af398A410a78B67e1A783AE
LitecoinLh9eV96yhTyrkv2VkWG7RZvas9TzFuYZbR

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free