MCPcopy Create free account
hub / github.com/npkgz/cli-progress / autopadding

Function autopadding

lib/format-time.js:14–16  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

12
13 // leading zero padding
14 function autopadding(v){
15 return (options.autopaddingChar + v).slice(-2);
16 }
17
18 // > 1h ?
19 if (t > 3600) {

Callers 1

format-time.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…