1.0.6 • Published 4 years ago

loadbar.js v1.0.6

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

LoadBar Nodejs

Example

const load = require('loadbar.js')

const loadBar = new load()

loadBar.start()

let index = 0
setInterval(() => {
	index++
	loadBar.update(index, 100)
}, 1000)

Syntax

const load = require('loadbar.js') // import module

const loadBar = new load() // start class

loadBar.start() // starts the bar (draws on the console)
loadBar.update(current value, final value) // update the bar
loadBar.finish() // Shows the console cursor, and skips a line
1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago