shellcommander
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

Overview:

ShellCommander is a child_process 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');

Dependents (0)

Package Sidebar

Install

npm i shellcommander

Weekly Downloads

1

Version

1.1.1

License

Apache-2.0

Unpacked Size

15.1 kB

Total Files

6

Last publish

Collaborators

  • leon1234858