2.0.0 • Published 6 years ago

currency-convert v2.0.0

Weekly downloads
20
License
MIT
Repository
github
Last release
6 years ago

DEPRECATED - currency-convert

package version package downloads standard-readme compliant package license make a pull request Greenkeeper badge

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

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am 'Add some feature'
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request

License

MIT