Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

smooth-progress

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smooth-progress - npm Package Compare versions

Comparing version 0.0.0 to 1.0.0

10

lib/progress.js

@@ -27,7 +27,13 @@ 'use strict';

function line () {
return bar.tmpl
function line (tokens) {
let line = bar.tmpl
.replace(':bar', renderBar())
.replace(':percent', pad(Math.round(bar.percent * 100)) + '%')
.replace(':eta', eta());
if (tokens) {
for (let token of Object.keys(tokens)) {
line = line.replace(':' + token, tokens[token]);
}
}
return line;
}

@@ -34,0 +40,0 @@

6

package.json
{
"name": "smooth-progress",
"version": "0.0.0",
"version": "1.0.0",
"description": "pixel-by-pixel CLI progress bar",
"main": "index.js",
"engines": {"node": ">= 4.0.0"},
"engines": {
"node": ">= 4.0.0"
},
"scripts": {

@@ -8,0 +10,0 @@ "test": "node test.js"

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