web / lib/utils/format
lib/utils/format
General-purpose formatting utilities.
Functions
formatFileSize()
formatFileSize(
bytes):string
Format a byte count as a human-readable file size string.
Parameters
bytes
number | null | undefined
Returns
string
Last updated on