natemoo-re / tinyshell

A tiny `node:child_process` wrapper for shell scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tinyshell

A very tiny node:child_process wrapper that makes executing shell scripts less painful. Kinda like execa, but built with modern Node (v16+) features.

import { shell } from 'tinyshell';

const result = await shell('node', ['--version']);
console.log(result); // { stdout: 'v18.17.1', stderr: '', exitCode: 0 }

About

A tiny `node:child_process` wrapper for shell scripts


Languages

Language:TypeScript 86.3%Language:JavaScript 13.7%