# @wickning1/async-exec

> Utility library for working with async/await instead of streams when executing commands with child-process

Latest version **1.0.2** (published 2019-10-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @wickning1/async-exec
pnpm add @wickning1/async-exec
yarn add @wickning1/async-exec
bun add @wickning1/async-exec
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2019-10-06 |
| First published | 2019-10-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Nick Wing |
| Maintainers | wickning1 |
| Keywords | child_process, exec, spawn, command |

## Links

- npm: https://www.npmjs.com/package/@wickning1/async-exec
- Repository: https://github.com/wickning1/async-exec
- Homepage: https://github.com/wickning1/async-exec#readme
- Issues: https://github.com/wickning1/async-exec/issues
- npm.io page: https://npm.io/package/@wickning1/async-exec

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2019-10-06
- 1.0.1 — 2019-10-06
- 1.0.0 — 2019-10-06

## README

# async-exec
Utility library for working with async/await instead of streams when executing commands with child-process

# Usage
```
const exec = require('@wickning1/async-exec')
async function main() {
  const { output, stdout, stderr } = await exec('ffmpeg', ['-i', 'inputpath'],
    ({ output, stdout, stderr}) => {
      if (stdout) console.log(`progress: ${stdout}`)
    }
  )
  console.log('Done!')
}
main()
```
`output` is the combination of `stdout` and `stderr` for extra simplicity.

---
_Source: https://npm.io/package/@wickning1/async-exec · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
