Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 469 Bytes

File metadata and controls

31 lines (17 loc) · 469 Bytes

ts-humanize v1.0.0


ts-humanize / iBytes

Function: iBytes()

iBytes(bytes): string

Defined in: bytes/bytes.ts:79

Produces a human-readable representation of an IEC size.

See also: parseBytes

Parameters

bytes

number

Returns

string

Example

iBytes(82854982) // "79 MiB"