listr-compose
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Listr Compose

Compose multiple listr task lists into one.

Install

npm install --save listr-compose

Usage

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    2
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i listr-compose

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

5.61 kB

Total Files

8

Last publish

Collaborators

  • fabiospampinato