Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

listr-silent-renderer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

listr-silent-renderer

Supress Listr rendering output

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.4M
decreased by-2.57%
Maintainers
1
Weekly downloads
 
Created

What is listr-silent-renderer?

The listr-silent-renderer npm package is a utility renderer for the Listr task runner, which is designed to suppress the output of tasks. This is particularly useful in scenarios where you want to run tasks silently without cluttering the console with logs, unless an error occurs.

What are listr-silent-renderer's main functionalities?

Silent Task Execution

This feature allows tasks to be executed silently. The code sample demonstrates how to set up a Listr task list with the SilentRenderer, which will not output any logs unless an error occurs.

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

const tasks = new Listr([
  {
    title: 'Silent task',
    task: () => Promise.resolve('Task completed silently')
  }
], { renderer: SilentRenderer });

tasks.run().catch(err => console.error(err));

Other packages similar to listr-silent-renderer

Keywords

FAQs

Package last updated on 06 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc