google-currency

1.0.7 • Public • Published

Node.js - google

This module allows you to convert currency based on google finance converter by scraping the results. It does NOT use the Google API. PLEASE DO NOT ABUSE THIS.

This is not sponsored, supported, or affiliated with Google Inc.

Installation

npm install --save google-currency

API Example

This prints out the value from USD to IDR.

const converter = require('google-currency')
 
const options = {
  from: "USD",
  to: "IDR",
  amount: 1
}
converter(options).then(value => {
  console.log(value) // Return object
})

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i google-currency

    Weekly Downloads

    216

    Version

    1.0.7

    License

    ISC

    Last publish

    Collaborators

    • joaquinperaza
    • muhilham