@peardrive/cli
    Preparing search index...

    Function fileSizeStr

    • Convert a file size in bytes to a human-readable string.

      Parameters

      • bytes: number

        The size in bytes.

      Returns string

      • The formatted file size string.