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

dooing

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dooing

A simple progress bar for Node cli

  • 0.0.5
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Dooing CircleCI

A simple progress bar for Node cli

Usage

  • install
npm install dooing
  • example
  1. give it total number and mark to step, and special mark when it end.
const config = {
  total: 10,
  mark: '•',
  endMark: '^v^',
}

const doobar = new Dooing(config)

setInterval(() => {
  doobar.step()
}, 500)

setTimeout(() => {
  process.exit()
}, 6000)
  1. give it some words to progress
import Dooing from '../lib'

const config = {
  words: 'JavaScript rocks',
  endMark: '!',
}

const doobar = new Dooing(config)

setInterval(() => {
  doobar.step()
}, 500)

setTimeout(() => {
  process.exit()
}, 500 * config.words.length)

  • demo demo

LICENSE

MIT

FAQs

Package last updated on 24 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