Socket
Socket
Sign inDemoInstall

node-progress

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-progress

A library that provides a cool loading.


Version published
Weekly downloads
67
decreased by-50.74%
Maintainers
1
Weekly downloads
 
Created
Source

Node Progress

Simple loading message for indeterminate processes.

How to use

var progress = require('node-progress').get();

progress.start();

someLongWork(function() {
	progress.finish();

	/* ... */
});

API

  • progress.start() : begins the progress.
  • progress.finish() : finishes the progress.
  • progress.setLongWaitMessage(message) : sets a long wait message. This message is shown every 2.5s.
  • progress.setProgressMessage(message) : sets the default progress message (Default: "Loading").

Keywords

FAQs

Package last updated on 24 Nov 2014

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