easy-stdout
v0.1.0
Published
Get any shell command's stdout as a string
Readme
easy-stdout
Run a shell command and get the stdout as a string.
Usage
pnpm install easy-stdoutimport stdout from 'easy-stdout'
console.log(await stdout('echo "Hello, world!"'))
// Logs 'Hello, world!'