docs: function byteSizeFormat(num, base, toFixed, noSpace) {
    if (typeof num !== 'number') {
      throw new TypeError('Expected a number');
    }
  
    var neg = num < 0 ? '-' : '';
  
    if (neg) {
      num = -num; // short Math.abs
    }
    if (num < 1) {
      return neg + num + ' B';
    }
    if (typeof base !== 'number' || base < 0) {
      base = 1024;
    }
    if (typeof num !== 'number' || toFixed < 0) {
      toFixed = 2;
    }
  
    var exponent = Math.min(Math.floor(Math.log(num) / Math.log(base)), units.length - 1);
  
    num = (num / Math.pow(base, exponent)).toFixed(toFixed);
    return neg + num + (noSpace ? '' : ' ') + units[exponent];
  }