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

karg

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karg - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

README.md

14

js/karg.js

@@ -28,3 +28,3 @@

parse = function(config) {
var a, c, h, help, k, n, p, r, ref, s, short, v;
var a, c, h, help, k, n, p, r, ref, s, short, v, version;
a = process.argv.slice(2);

@@ -68,2 +68,12 @@ c = noon.parse(config);

}
h += '\n\n';
version = c[n]['version']['='];
delete c[n];
h += noon.stringify(c, {
maxalign: 21,
colors: {
key: chalk.gray,
string: chalk.white
}
});
h += '\n';

@@ -81,3 +91,3 @@ while (a.length) {

} else if (k === 'version') {
console.log(c[n][k]['=']);
console.log(version);
process.exit();

@@ -84,0 +94,0 @@ }

2

package.json
{
"name": "karg",
"version": "0.1.3",
"version": "0.1.4",
"description": "option parser",

@@ -5,0 +5,0 @@ "main": "js/karg.js",

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