Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/srn/currency
simple currency conversion cli (supports BTC/ETH)
https://github.com/srn/currency
blockchain cryptocurrency currencies javascript
Last synced: 7 days 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 (about 12 years ago)
- Default Branch: master
- Last Pushed: 2017-09-27T15:05:05.000Z (about 7 years ago)
- Last Synced: 2024-10-26T00:10:05.372Z (20 days ago)
- Topics: blockchain, cryptocurrency, currencies, javascript
- Language: JavaScript
- Homepage:
- Size: 183 KB
- Stars: 25
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# currency [![Build Status](http://img.shields.io/travis/srn/currency.svg?style=flat-square)](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)
![screenshot.gif](screenshot.gif)
## 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 --helpsimple 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)