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 4.0.0 to 4.1.0

screenshot.gif

7

cli.js

@@ -6,2 +6,3 @@ #!/usr/bin/env node

const ora = require('ora')
const updateNotifier = require('update-notifier')

@@ -35,2 +36,4 @@ const pkg = require('./package.json')

const spinner = ora('Fetching exchange data..').start()
let opts = {

@@ -44,5 +47,9 @@ amount: argv[0] || 1,

.then(result => {
spinner.stop()
console.log(`${opts.amount} ${opts.from} = ${result} ${opts.to}`)
})
.catch(err => {
spinner.stop()
console.log(err)

@@ -49,0 +56,0 @@

3

package.json
{
"name": "currency",
"version": "4.0.0",
"version": "4.1.0",
"description": "simple currency conversion cli",

@@ -24,2 +24,3 @@ "main": "index.js",

"money": "0.2.0",
"ora": "1.3.0",
"update-notifier": "2.2.0"

@@ -26,0 +27,0 @@ },

@@ -5,2 +5,4 @@ # currency [![Build Status](http://img.shields.io/travis/srn/currency.svg?style=flat-square)](https://travis-ci.org/srn/currency)

![screenshot.gif](screenshot.gif)
## Install

@@ -42,8 +44,4 @@

## API
## License
MIT © [Søren Brokær](http://srn.io)

Sorry, the diff of this file is not supported yet

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