# co-exec

> exec() wrapper for 'co'

Latest version **1.1.0** (published 2013-08-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install co-exec
pnpm add co-exec
yarn add co-exec
bun add co-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.1.0 |
| Published | 2013-08-26 |
| First published | 2013-06-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | tjholowaychuk |
| Keywords | async, flow, generator, coro, coroutine |

## Links

- npm: https://www.npmjs.com/package/co-exec
- npm.io page: https://npm.io/package/co-exec

## Alternatives

- [@commercetools/sync-actions](https://npm.io/package/@commercetools/sync-actions.md) — 25.1K weekly downloads
- [cwait](https://npm.io/package/cwait.md) — 21.4K weekly downloads
- [@ledgerhq/hw-app-cosmos](https://npm.io/package/@ledgerhq/hw-app-cosmos.md) — 4.2K weekly downloads
- [@financial-times/o-loading](https://npm.io/package/@financial-times/o-loading.md) — 2.8K weekly downloads
- [fa](https://npm.io/package/fa.md) — 185 weekly downloads

## Recent versions

- 1.1.0 (latest) — 2013-08-26
- 1.0.0 — 2013-06-06

## README

# co-exec

  Node core `exec()` wrapped to return a thunk for [co](https://github.com/visionmedia/co).

## Installation

```
$ npm install co-exec
```

## Example

  Do some stuff with git:

```js
var co = require('co');
var exec = require('co-exec');

co(function *(){
  var commit = yield exec('git rev-parse HEAD');
  var commits = yield exec('git rev-list master | wc -l');
  console.log('the latest commit is %s, with a total of %s', commit.slice(0, 5), commits.trim());
});
```

## License

  MIT

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