MCPcopy
hub / github.com/rchipka/node-osmosis / toMB

Function toMB

index.js:10–12  ·  view source on GitHub ↗
(size, num)

Source from the content-addressed store, hash-verified

8 memoryUsage = 0,
9 cachedSelectors = {},
10 toMB = function (size, num) {
11 return (size / 1024 / 1024).toFixed(num || 2) + 'Mb';
12 },
13
14 extend = function (object, donor) {
15 var key, keys = Object.keys(donor),

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected