You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

node-cmd

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-cmd - npm Package Compare versions

Comparing version

to
5.0.0

3

cmd.js

@@ -6,5 +6,2 @@ const { exec, execSync } = require('child_process');

runSync:runSync,
//will be deprecated soon as run is now the same.
get:runCommand,
};

@@ -11,0 +8,0 @@

2

package.json
{
"name": "node-cmd",
"version": "4.0.0",
"version": "5.0.0",
"description": "Simple commandline/terminal/shell interface to allow you to run cli or bash style commands as if you were in the terminal.",

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

@@ -66,11 +66,11 @@ # node-cmd

const syncData=cmd.runSync('cd ./example & dir');
const syncDir=cmd.runSync('cd ./example & dir');
console.log(`
Sync Err ${syncData.err}
Sync Err ${syncDir.err}
Sync stderr: ${syncDir.stderr}
Sync Data ${syncData.data}
Sync Data ${syncDir.data}

@@ -77,0 +77,0 @@ `);