Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

currency

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

currency - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

3

index.js

@@ -6,4 +6,3 @@ 'use strict';

const APP_ID = process.env.OPENEXCHANGERATES_APP_ID || 'ead040886c774aa5824508a084181ecb';
const path = `https://openexchangerates.org/api/latest.json?app_id=${APP_ID}`;
const path = 'https://api.fixer.io/latest';

@@ -10,0 +9,0 @@ module.exports = (opts) => {

{
"name": "currency",
"version": "2.0.0",
"version": "3.0.0",
"description": "simple currency conversion cli using openexchangerates.org",

@@ -5,0 +5,0 @@ "main": "index.js",

# currency [![Build Status](http://img.shields.io/travis/srn/currency.svg?style=flat-square)](https://travis-ci.org/srn/currency)
> simple currency conversion cli using [openexchangerates.org](https://openexchangerates.org/)
> simple currency conversion cli using [fixer.io](http://fixer.io/)

@@ -24,12 +24,4 @@ ## Install

## openexchangerates.org
If the provided `OPENEXCHANGERATES_APP_ID` is for whatever reason not valid anymore just set `OPENEXCHANGERATES_APP_ID` as the env var:
```
$ OPENEXCHANGERATES_APP_ID=a1337 currency 10 USD DKK
```
## License
MIT © [Søren Brokær](http://srn.io)

@@ -15,4 +15,4 @@ import test from 'ava';

nock('https://openexchangerates.org')
.get('/api/latest.json?app_id=ead040886c774aa5824508a084181ecb')
nock('https://api.fixer.io')
.get('/latest')
.reply(200, exchangeRates);

@@ -19,0 +19,0 @@ });

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc