npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

listr-compose

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

install

npm i listr-compose

Downloadsweekly downloads

9

version

1.0.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability