listr-verbose-renderer
Listr verbose renderer
Last updated 7 years ago by samverschueren .
MIT · Repository · Bugs · Original npm
$ cnpm install listr-verbose-renderer 
SYNC missed versions from official npm registry.

listr-verbose-renderer Build Status

Listr verbose renderer

Install

$ npm install --save listr-verbose-renderer

Usage

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.

Options

These options should be provided in the Listr options object.

dateFormat

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.

Related

License

MIT © Sam Verschueren

Current Tags

  • 0.5.0                                ...           latest (7 years ago)

2 Versions

  • 0.4.1                                ...           8 years ago
  • 0.5.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org