listr is a part of the Tidelift Subscription

Tidelift is working with the maintainers of listr and thousands of other projects to deliver commercial support and maintenance for the open source dependencies you use to build your applications.

try it free

tidelift-different-q32019listr is a npm library included in Tidelift Subscription

About listr

listr is a terminal task list available via the npm package manager. listr maintainer and creator, Sam Verschueren, maintains listr via the Tidelift Subscription. listr is used by more than 165,000 repositories and over 1,000 other projects depend on listr.

listr does the following:

  • A task can return different values. If a task returns, it means the task was completed successfully. If a task throws an error, the task failed.
  • A task can also be async by returning a Promise. If the promise resolves, the task completed successfully, it it rejects, the task failed.
  • A task can also return an Observable. The thing about observables is that it can emit multiple values and can be used to show the output of the task.
  • It's also possible to return a stream. The stream will be converted to an Observable and handled as such.
  • Optionally specify a skip function to determine whether a task can be skipped.

You can learn more about listr on the project repo.

The Tidelift Subscription

MANAGED OPEN SOURCE FOR APPLICATION DEVELOPMENT TEAMS

The Tidelift Subscription is a managed open source subscription for application dependencies covering millions of open source projects across JavaScript, Python, Java, PHP, Ruby, .NET, and more.

Your subscription includes:

security-q32019

SECURITY UPDATES

Keep your supply chain secure with patches for new security vulnerabilities.

licensing-v2

LICENSING VERIFICATION AND INDEMNIFICATION

Stay covered with easy licensing policy enforcement and intellectual property indemnification.

maintenance-q32019-2

MAINTENANCE AND CODE IMPROVEMENT

Ensure your open source dependencies are actively maintained, both now and into the future.

version-guidance-q32019-2

PACKAGE SELECTION AND VERSION GUIDANCE

Choose the best open source packages from the start—and then stay on the best releases.

roadmap-q32019-2

ROADMAP INPUT

Take a seat at the table with the creators behind the software you use.

cloud-q32019-2

TOOLING AND CLOUD INTEGRATION

Works with GitHub, GitLab, Bitbucket, and more. Support for every cloud platform.

Bottom line: all the capabilities you expect—and require—from commercial software. But now, for all of the key open source software you depend on.

try it free

Take a tour