MCPcopy Create free account
hub / github.com/error311/FileRise / formatSpeed

Function formatSpeed

public/js/transferProgress.js:34–36  ·  view source on GitHub ↗
(bps)

Source from the content-addressed store, hash-verified

32}
33
34function formatSpeed(bps) {
35 return `${formatBytes(bps)}/s`;
36}
37
38function formatDuration(ms) {
39 const total = Math.max(0, Math.floor(ms / 1000));

Callers 1

renderJobFunction · 0.85

Calls 1

formatBytesFunction · 0.70

Tested by

no test coverage detected