Skip to content
This repository has been archived by the owner on Feb 28, 2019. It is now read-only.

tiaanduplessis/currency-convert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Convert amount from one currency to another

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published