paul-shuvo / nodejs-currency-converter

:currency_exchange: A NodeJS currency converter library that doesn't require subscribing to any API calls.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

All responses return NaN

annasmykova opened this issue · comments

For version "currency-converter-lt": "^2.0.0"

new CC({ from: 'UAH', to: 'USD', amount: 3800 }).convert().then(test => {
	console.log(test); // Returns NaN
})
new CC({ from: 'UAH', to: 'USD', amount: 3800 }).rates().then(rates => {
	console.log(rates); // Returns NaN
})

No difference on what from or to are used, all responses return NaNs.

I've been suffering from the same problem, please fix this asap

Could you reproduce it on runkit and send the link?