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

calc-cli

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calc-cli - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

package.json
{
"name": "calc-cli",
"version": "0.1.2",
"version": "0.1.3",
"description": "Calculus in your terminal",

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

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

const format = string => {
return console.log(CHALK.cyan` ${string}`);
return console.log(CHALK.cyan(` ${string}`));
};

@@ -34,2 +34,3 @@

}
return [operation, expression];

@@ -53,11 +54,13 @@ };

inputs.length === 1 ? processSingle(inputs[0]) : processMultiple(inputs);
return compute(operation, expression);
};
PROG.description`Calculus (and more) in your terminal!`
.usage`[operation] <expression>`.action(() => {
exec(process);
});
PROG.description('Calculus (and more) in your terminal!')
.usage('[operation] <expression>')
.action(() => {
exec(process);
});
PROG.parse(process.argv);
if (!PROG.argv) PROG.outputHelp();
if (PROG.args.slice(0, -1).length == 0) PROG.outputHelp();
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