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

listr3

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

listr3

A dead-simple terminal task list.

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

listr-3

A dead-simple terminal task list.

Installation

npm i listr3

Example

listr-3-anim

Listr3 is designed to be super-simple to use. No need to write a schema before-hand, just say what you're doing and we'll handle it.

import Task from "listr3"

const task = new Task()

task("Doing stuff...")
sleep(1000)

task("Doing next stuff...")
sleep(1000)

const progress = task("Doing some complicated stuff", 400)

for (let i = 0; i < 400; i++) {
  sleep(100)
  progress()
}

task("Finally finishing up...")
sleep(1000)

task.finish()

Customization

We use the ora and cli-progress projects and make those option sets fully available - check out the types.

Contribution

Contribution is encouraged! If I missed anything, or there's a use-case I didn't consider, definitely feel free to file an issue and/or PR. This project is licensed under the MIT license as most npm packages are. (see license.md).

Keywords

FAQs

Package last updated on 02 Nov 2020

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