travel/admin/node_modules/listr-silent-renderer
yaosen 242417d45d init... 2024-06-24 11:28:18 +08:00
..
index.js init... 2024-06-24 11:28:18 +08:00
license init... 2024-06-24 11:28:18 +08:00
package.json init... 2024-06-24 11:28:18 +08:00
readme.md init... 2024-06-24 11:28:18 +08:00

readme.md

listr-silent-renderer Build Status

Suppress Listr rendering output

Install

$ npm install --save listr-silent-renderer

Usage

const SilentRenderer = require('listr-silent-renderer');
const Listr = require('listr');

const list = new Listr([
    {
        title: 'foo',
        task: () => Promise.resolve('bar')
    }
], {
    renderer: SilentRenderer
});

list.run();

License

MIT © Sam Verschueren