currency-convert
v2.0.0
Published
Convert amount from one currency to another
Downloads
17
Readme
DEPRECATED - currency-convert
Convert amount from one currency to another
Table of Contents
Install
This project uses node and npm.
$ npm install currency-convert
$ # OR
$ yarn add currency-convert
Usage
const currencyConvert = require('currency-convert')
const API_KEY = "#####################"
currencyConvert(API_KEY, 5, 'USD', 'HKD').then(console.log).catch(console.log)
// 39.115292915531334
API
Contribute
- Fork it and create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request
License
MIT