splat-transform API Reference - v2.0.5
    Preparing search index...

    Function fmtBytes

    • Format a byte count using binary (1024-based) units.

      Parameters

      • n: number

        The number of bytes.

      Returns string

      The formatted string (e.g. 1.5MB).