1.0.6 • Published 5 years ago

loadbar.js v1.0.6

Weekly downloads
1
License
ISC
Repository
-
Last release
5 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

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago