Installations
npm install listr-update-renderer
Developer Guide
Typescript
No
Module System
N/A
Min. Node Version
>=6
Node Version
8.9.4
NPM Version
5.6.0
Score
68.9
Supply Chain
85.4
Quality
74.6
Maintenance
100
Vulnerability
99.3
License
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
SamVerschueren
Download Statistics
Total Downloads
882,648,452
Last Day
45,349
Last Week
1,511,459
Last Month
7,280,820
Last Year
92,418,288
GitHub Statistics
37 Stars
25 Commits
45 Forks
3 Watching
1 Branches
3 Contributors
Package Meta Information
Latest Version
0.5.0
Package Id
listr-update-renderer@0.5.0
Size
2.87 kB
NPM Version
5.6.0
Node Version
8.9.4
Publised On
17 Nov 2018
Total Downloads
Cumulative downloads
Total Downloads
882,648,452
Last day
-19.6%
45,349
Compared to previous day
Last week
-7.4%
1,511,459
Compared to previous week
Last month
-21.1%
7,280,820
Compared to previous month
Last year
-22.7%
92,418,288
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Peer Dependencies
1
Dev Dependencies
4
listr-update-renderer
Listr update renderer
Install
$ npm install --save listr-update-renderer
Usage
1const UpdaterRenderer = require('listr-update-renderer'); 2const Listr = require('listr'); 3 4const list = new Listr([ 5 { 6 title: 'foo', 7 task: () => Promise.resolve('bar') 8 } 9], { 10 renderer: UpdaterRenderer, 11 collapse: false 12}); 13 14list.run();
Note: This is the default renderer for Listr and doesn't need to be specified.
Options
These options should be provided in the Listr options object.
showSubtasks
Type: boolean
Default: true
Set to false
if you want to disable the rendering of the subtasks. Subtasks will be rendered if an error occurred in one of them.
collapse
Type: boolean
Default: true
Set to false
if you don't want subtasks to be hidden after the main task succeed.
clearOutput
Type: boolean
Default: false
Clear the output when all the tasks are executed succesfully.
Related
- listr - Terminal task list
- listr-verbose-renderer - Listr verbose renderer
- listr-silent-renderer - Suppress Listr rendering output
License
MIT © Sam Verschueren
No vulnerabilities found.
Reason
security policy file detected
Details
- Info: security policy file detected: .github/security.md:1
- Info: Found linked content: .github/security.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: .github/security.md:1
- Info: Found text in security policy: .github/security.md:1
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: license:0
- Info: FSF or OSI recognized license: MIT License: license:0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 2/25 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 2 are checked with a SAST tool
Score
3.9
/10
Last Scanned on 2024-12-16
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More