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

cmd-fn

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmd-fn - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

3

index.js

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

.option('-f, --function [name]', 'function name')
.option('-c, --cwd [path]', 'working directory context to run function from')
.option('-c, --cwd [path]', 'change working directory context')
.option('-p, --params [arguments]', 'function arguments specified as an array e.g.: `\'["foo", "bar"]\'`', jsonArgs)

@@ -78,3 +78,2 @@ .option('--promise', 'function is async and uses promises')

program.params.push(function(err, val) {
console.log(err, val);
if (err) {

@@ -81,0 +80,0 @@ reject(err);

{
"name": "cmd-fn",
"version": "1.1.1",
"version": "1.1.2",
"repository": "git://github.com/davej/cmd-fn",

@@ -5,0 +5,0 @@ "description": "Execute any node module function from the command line.",

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