šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

useless-progress

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

useless-progress

Produce a useless automatic scrolling bar that grows on its own.

1.0.1
Source
npm
Version published
Maintainers
1
Created
Source

useless-progress

Produce a useless automatic scrolling bar that grows on its own.

Download

npm i useless-progress

example

import Progress from 'useless-progress';

const progress = new Progress({
  onprogress: function (progress) {
    console.log(progress)
  }
})
progress.start()

/**
 * console.log
 * 0
 * 0.007653891978612326
 * 0.015249201894804387
 * 0.0227863781293538
 * 0.030265865631180278
 * ...
 * 0.9997831489834735
 * 0.9997848087377296
 * 0.9997864557884056
 * 0.9997880902327339
 */

config

AttractivedescriptionTypedefault
onprogressfunction-
extremeTimeTime from 0 to 0.99time(millisecond)60000

method

Namedescription
start()
end()Stop working and set progress to 1
getProgress()
setProgress()

FAQs

Package last updated on 10 Apr 2023

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