currency-conversion-paula

1.0.1 • Public • Published

NodeJS Currency Converter

A simple currency converter Powered by Amdoren From free account so ir has basic functionalities and is limited to 10 API calls per month

Getting started

Installation

This package can be installed using npm

npm install currency-conversion-paula

Usage

Import currency-conversion-paula and use it as a Promise.

const convertCurrency = require('currency-conversion-paula');

var options = {
  from: 'USD',
  to: 'ARS',
  amount: '10'
};

convertCurrency(options)
  .then(res => console.log(res))
  .catch(err => console.log(err));

Without the amount parameter, the function will return the currency based on amount 1.

Readme

Keywords

Package Sidebar

Install

npm i currency-conversion-paula

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

2.17 kB

Total Files

4

Last publish

Collaborators

  • pauburgos10