# listr-compose

> Compose multiple listr task lists into one.

Latest version **1.0.3** (published 2018-12-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install listr-compose
pnpm add listr-compose
yarn add listr-compose
bun add listr-compose
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2018-12-06 |
| First published | 2018-10-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Fabio Spampinato |
| Maintainers | fabiospampinato |
| Keywords | listr, compose, cli |

## Links

- npm: https://www.npmjs.com/package/listr-compose
- Repository: https://github.com/fabiospampinato/listr-compose
- Homepage: https://github.com/fabiospampinato/listr-compose#readme
- Issues: https://github.com/fabiospampinato/listr-compose/issues
- npm.io page: https://npm.io/package/listr-compose

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) ^10.12.8

## 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.3 (latest) — 2018-12-06
- 1.0.2 — 2018-11-11
- 1.0.1 — 2018-11-05
- 1.0.0 — 2018-10-02

## README

# Listr Compose

Compose multiple [listr](https://github.com/SamVerschueren/listr) task lists into one.

## Install

```sh
npm install --save listr-compose
```

## Usage

```ts
import * as Listr from 'listr';
import compose from 'listr-compose';

const listFoo = new Listr ([
  {
    title: 'Foo',
    task: () => true
  }
]);

const listBar = new Listr ([
  {
    title: 'Bar',
    task: () => true
  }
]);

const listFooBar = compose ( listFoo, listBar );

listFooBar.run ();
```

## License

MIT © Fabio Spampinato

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