Skip to content

LIMPIX31/cli-stage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cli-stage

Simple tool for displaying stages in the terminal demo

Example

import { CliStage } from 'cli-stage'

const wait = timeout => new Promise(r => setTimeout(r, timeout))

;(async () => {
  const cls = new CliStage('Installing', 'Building', 'Packing')
  cls.start()
  await wait(5000)
  cls.success()
  await wait(5000)
  cls.success()
  await wait(5000)
  cls.error()
})()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published