Socket
Socket
Sign inDemoInstall

y-currency-terminal

Package Overview
Dependencies
1
Maintainers
1
Versions
7
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

main.js

@@ -0,6 +1,8 @@

#!/usr/bin/env node
var currency = require('y-currency');
var amount = parseInt(process.argv[1]);
var from = process.argv[2].toString();
var to = process.argv[3].toString();
var amount = parseInt(process.argv[2]);
var from = process.argv[3].toString();
var to = process.argv[4].toString();

@@ -7,0 +9,0 @@ currency.convert(amount,from,to,function(err,converted){

{
"name": "y-currency-terminal",
"version": "1.0.1",
"version": "1.0.2",
"description": "An example module to illustrate the usage of a package.json",

@@ -15,3 +15,3 @@ "author": "Matas Kairaitis <matas.kairaitis@gmail.com> (https://github.com/matys18/)",

"bugs": {
"url": "https://github.com/nodejitsu/browsenpm.org/issues"
"url": "https://github.com/matys18/y-currency-terminal/issues"
},

@@ -38,3 +38,2 @@ "keywords": [

"homepage": "https://github.com/matys18/y-currency-terminal",
"devDependencies": {},
"scripts": {

@@ -41,0 +40,0 @@ "test": "echo \"Error: no test specified\" && exit 1"

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