Sudoo-Shell

Continuous Integration codecov npm version downloads

Shell Utilities for NodeJS

Install

yarn add @sudoo/shell
# Or
npm install @sudoo/shell --save

Usage

To execute a command via shell

import { shellExecuteCommand } from "@sudoo/shell";

(async () => {
    const result = await shellExecuteCommand('git stash');
})();