vlad 6f123ff03e 18.07 | 6 lat temu | |
---|---|---|
.. | ||
lib | 6 lat temu | |
node_modules | 6 lat temu | |
index.js | 6 lat temu | |
license | 6 lat temu | |
package.json | 6 lat temu | |
readme.md | 6 lat temu |
Listr verbose renderer
$ npm install --save listr-verbose-renderer
const VerboseRenderer = require('listr-verbose-renderer');
const Listr = require('listr');
const list = new Listr([
{
title: 'foo',
task: () => Promise.resolve('bar')
}
], {
renderer: VerboseRenderer
});
list.run();
Note: This renderer supports non-TTY environments.
These options should be provided in the Listr options object.
Type: string
false
Default: HH:mm:ss
Format of the rendered timestamp. Use the date-fns string format. If false
is passed in, the timestamp will be hidden.
MIT © Sam Verschueren