Socket
Socket
Sign inDemoInstall

live-currency-exchange

Package Overview
Dependencies
53
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

8

package.json
{
"name": "live-currency-exchange",
"version": "1.0.1",
"version": "1.0.2",
"description": "Get currency exchange rates from the European Central Bank",

@@ -14,3 +14,3 @@ "main": "index.js",

"type": "git",
"url": "git+https://github.com/vivekimsit/exchange-rate.git"
"url": "git@github.com:tiborsaas/live-currency-exchange.git"
},

@@ -28,5 +28,5 @@ "keywords": [

"bugs": {
"url": "https://github.com/vivekimsit/exchange-rate/issues"
"url": "https://github.com/tiborsaas/live-currency-exchange/issues"
},
"homepage": "https://github.com/vivekimsit/exchange-rate#readme",
"homepage": "https://github.com/tiborsaas/live-currency-exchange",
"devDependencies": {

@@ -33,0 +33,0 @@ "ava": "^0.25.0",

@@ -1,4 +0,4 @@

# exchange-rate [![Build Status](https://travis-ci.org/vivekimsit/exchange-rate.svg?branch=master)](https://travis-ci.org/vivekimsit/exchange-rate)
> Get currency exchange rates
# Live currency exchange
> Get currency exchange rates from the European Central Bank.

@@ -8,3 +8,3 @@ ## Install

```
$ npm install exchange-rate
$ npm i live-currency-exchange
```

@@ -17,3 +17,9 @@

const exchange = createExchange();
const {source, target, rate} = await exchange.convert({source: 'EUR', target: 'GBP'});
const {source, target, rate} = await exchange.convert({source: 'GBP', target: 'EUR'});
```
### Response
```json
{ source: 'GBP', target: 'EUR', rate: 1.1708 }
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc