# exec-chainable

> Exec command and return promise

Latest version **0.0.3** (published 2014-08-04) · 0 weekly downloads

## Install

```sh
npm install exec-chainable
pnpm add exec-chainable
yarn add exec-chainable
bun add exec-chainable
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2014-08-04 |
| First published | 2014-08-04 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Daniel Husár |
| Maintainers | efrafa |
| Keywords | exec, chainable, promise |

## Links

- npm: https://www.npmjs.com/package/exec-chainable
- Repository: https://github.com/danielhusar/exec-chainable
- Issues: https://github.com/danielhusar/exec-chainable/issues
- npm.io page: https://npm.io/package/exec-chainable

## Dependencies (1)

- [q](https://npm.io/package/q.md) ^1.0.1

## Alternatives

- [promise-throttle](https://npm.io/package/promise-throttle.md) — 44.2K weekly downloads
- [@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

## Recent versions

- 0.0.3 (latest) — 2014-08-04
- 0.0.2 — 2014-08-04
- 0.0.1 — 2014-08-04

## README

# Exec Chainable [![Build Status](https://travis-ci.org/danielhusar/exec-chainable.svg)](https://travis-ci.org/danielhusar/exec-chainable)

> Exec shell command and return promise so you can chain commands

## Install

#### [npm](https://npmjs.org/package/exec-chainable)

```
npm install --save exec-chainable
```

## Example

```javascript
var exec  = require('exec-chainable');
exec(command);
```

```javascript
var exec  = require('exec-chainable');
exec('echo 1').then(function (stdout) {
  console.log(stdout);
  //=> 1
  return exec('echo 2');
}).done(function (stdout) {
  console.log(stdout);
  //=> 2
});
```

## Options

#### command

Type: `String`  
Default: ``

Command to execute.


## License

MIT © [Daniel Husar](https://github.com/danielhusar)

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