constload=require('loadbar.js')// import moduleconstloadBar=newload()// start classloadBar.start()// starts the bar (draws on the console)loadBar.update(currentvalue,finalvalue)// update the barloadBar.finish()// Shows the console cursor, and skips a line