code: function humanizeSize(bytes) {
    const index = Math.floor(Math.log(bytes) / Math.log(1024));
    if (index < 0) return '';
    return `${+((bytes / 1024) ** index).toFixed(2)} ${units[index]}`;
  }
docs: Convert bytes into a human readable form.
  @param {number} bytes Number of bytes to convert.
  @returns {string}