https://github.com/srn/currency
simple currency conversion cli (supports BTC/ETH)
https://github.com/srn/currency
blockchain cryptocurrency currencies javascript
Last synced: about 1 year ago
JSON representation
simple currency conversion cli (supports BTC/ETH)
- Host: GitHub
- URL: https://github.com/srn/currency
- Owner: srn
- Created: 2012-10-25T19:34:35.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2017-09-27T15:05:05.000Z (over 8 years ago)
- Last Synced: 2025-04-13T03:09:25.051Z (about 1 year ago)
- Topics: blockchain, cryptocurrency, currencies, javascript
- Language: JavaScript
- Homepage:
- Size: 183 KB
- Stars: 25
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# currency [](https://travis-ci.org/srn/currency)
> simple currency conversion cli using [fixer.io](http://fixer.io), [blockchain.info](https://blockchain.info) and [etherchain.org](https://etherchain.org)

## Install
```sh
$ npm i currency -g
```
## Currencies
- All currencies listed in the [European Central Bank](https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html) API
- Bitcoin using [blockchain.info](https://blockchain.info)
- Ethereum using [etherchain.org](https://etherchain.org)
## CLI
```sh
$ currency --help
simple currency conversion in the terminal
Example
$ currency 10 usd dkk
=> 10 USD = 62.208 DKK
$ currency 1 btc usd
=> 1 BTC = 3746.18 USD
$ currency 500 usd btc
=> 500 USD = 0.13358982579886716 BTC
$ currency 1 eth usd
=> 1 ETH = 282.81 USD
$ currency 500 usd eth
=> 500 USD = 1.767971429581698 ETH
```
## License
MIT © [Søren Brokær](http://srn.io)