A foreign exchange rates and currency conversion using cli
The moeda
use JSON API Fixer.io for current and historical foreign exchange rates published by the European Central Bank.
The rates are updated daily around 4PM CET.
$ npm install -g moeda
Usage
$ moeda <amount> <currency> [<...currencies>]
Some currency
[ usd, eur, gbp, brl... ]
Examples
$ moeda 1 usd
Result
Euro: 0.92
Libra Esterlina: 0.82
Real Brazilian: 3.15
Conversion of USD 1
Your own currencies to convert
$ moeda 1 usd eur rub aud
Result
Euro: 0.91
Russian Rouble: 62.92
Australian Dollar: 1.30
Conversion of USD 1
Help improve these docs. Open an issue or submit a pull request.
- Navigate to the main page of the repository
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request =D
See Releases for detailed changelog.
MIT License © Emerson Thompson