Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

aexec

i011ISC1.0.3

Async EXEC - A micro for executing shell commands that returns the output and supports Promise and await.

shell, sh, bash, async / await, child process, exec, cp.exec, execSync, promise

readme

Install

npm install aexec

Usage

import aexec from "aexec";

console.log(await aexec("ls"));
/* Output:
index.js
package.json
readme.md
*/