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
})

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.7
    522
    • latest

Version History

Package Sidebar

Install

npm i google-currency

Weekly Downloads

243

Version

1.0.7

License

ISC

Last publish

Collaborators

  • joaquinperaza
  • muhilham