shellcommander

an npm module to simplify exec shell command in node

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
shellcommander
001.1.19 months ago10 months agoMinified + gzip package size for shellcommander in KB

Readme

Overview:
ShellCommander is a childprocess wrapper for execute shell command in node
Example:
import { execute, executeJsFile, executePs1File } from 'shellcommander'
const result = await execute(`node --version`);
try {
	await execute(`fakeCommand test`);
} catch {
  return;
}
await executeJsFile('./dist/index.js');
await executePs1File('./test/test.ps1');