Avena Webapp API - v0.0.1
    Preparing search index...

    Function formatBytes

    • Formats a byte count with 1024-based units.

      Parameters

      • value: number

        Size in bytes.

      Returns string

      E.g. 512 B, 1.5 KB, 12.0 MB. Stops at GB.