Socket
Book a DemoInstallSign in
Socket

term-spinner

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

term-spinner

Terminal spinner for node.js (port of visionmedia's go-spin, since I like the spinners by default)

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

node-term-spinner

Terminal spinner for node.js (port of visionmedia's go-spin, since I like the spinners by default)

Getting Started

Install the module with: npm install node-term-spinner

var spin = require('node-term-spinner');
var spinner = spin.new();
setInterval(function () {
	spinner.next();
	process.stdout.clearLine();
	process.stdout.cursorTo(0);
	process.stdout.write([spinner.current, "Processing..."].join(" "));
}, 1000);

Keywords

terminal

FAQs

Package last updated on 10 Sep 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