0.0.2 • Published 5 years ago

@accubits/currency-converter v0.0.2

Weekly downloads
55
License
ISC
Repository
-
Last release
5 years ago


alt text <>

Currency Converter

A currency convertion utility , which can be used to calculate the forex value of te currency.

Installation

Install the package with:

npm i @accubits/currency-converter

USAGE

	let converter = require('@accubits/currency-converter')

Get Available currencies

	let converter = require('@accubits/currency-converter')
	converter.getCurrencies().then(currencies=>{  
    console.log(res)  
 })

Conversions

Example : Convert 200 USD to INR

	let converter = require('@accubits/currency-converter')
	converter.convert('USD','INR',200).then(res=>{  
    console.log(res)  
})
0.0.2

5 years ago

0.0.1

5 years ago