# cryptocurrency-calculator-cli

> Cryptocurrency Converter Calculator as command line util Edit

Latest version **1.0.2** (published 2017-12-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install cryptocurrency-calculator-cli
pnpm add cryptocurrency-calculator-cli
yarn add cryptocurrency-calculator-cli
bun add cryptocurrency-calculator-cli
```

Provides the command `cryptocurrency-calculator-cli`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2017-12-16 |
| First published | 2017-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+25 in 1 direct dependencies) |
| Install scripts | no |
| Author | Fabian Beuke |
| Maintainers | madnight |

## Links

- npm: https://www.npmjs.com/package/cryptocurrency-calculator-cli
- Repository: https://github.com/madnight/cryptocurrency-calculator-cli
- Homepage: https://github.com/madnight/cryptocurrency-calculator-cli#readme
- Issues: https://github.com/madnight/cryptocurrency-calculator-cli/issues
- npm.io page: https://npm.io/package/cryptocurrency-calculator-cli

## Dependencies (4)

- [axios](https://npm.io/package/axios.md) ^0.17.1
- [lodash](https://npm.io/package/lodash.md) ^4.17.4
- [commander](https://npm.io/package/commander.md) ^2.12.2
- [eslint-config-cleanjs](https://npm.io/package/eslint-config-cleanjs.md) ^4.0.0

## Recent versions

- 1.0.2 (latest) — 2017-12-16
- 1.0.1 — 2017-12-16
- 1.0.0 — 2017-12-16

## README

# cryptocurrency-calculator-cli
Cryptocurrency Converter Calculator as command line util

## Requirements
* node 8.0 or higher (need fancy syntax features thats why 8+)
* npm or yarn

## Usage

```
# install
npm install cryptocurrency-calculator-cli -g

# run default (shows current btc price)
cryptocurrency-calculator-cli

# run with options
cryptocurrency-calculator-cli --amount 0.5 --from BTC --to USD
```

## Options

```
cryptocurrency-calculator-cli --help

  Usage: cryptocurrency-calculator-cli [options]


  Options:

    -V, --version        output the version number
    -a, --amount <n>     number of coins
    -f, --from <string>  specify the coin to convert from e.g. ETH
    -t, --to <string>    specify the coin to convert to e.g. BTC
    -h, --help           output usage information
  ```
  
  ## Examples
  
```
cryptocurrency-calculator-cli --amount 0.5 --from BTC --to USD                                                             
9374.63 USD

cryptocurrency-calculator-cli -a 0.5 -f BTC -t USD                                                                         ~
9359.95 USD

cryptocurrency-calculator-cli -f BTC -t USD                                                                               
18722.87 USD

cryptocurrency-calculator-cli -f ETH -t USD                                                                               
690.21 USD

cryptocurrency-calculator-cli -f ETH -t XRP                                                                              
914.91 XRP

cryptocurrency-calculator-cli -a 0.01 -f BTC -t ADA                                                                         
567.8592 ADA
  ```

---
_Source: https://npm.io/package/cryptocurrency-calculator-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
