mazey
    Preparing search index...

    Interface FormatByteSizeOptions

    Options for formatting a byte count.

    interface FormatByteSizeOptions {
        base?: 1000 | 1024;
        fractionDigits?: number;
        invalidValue?: string;
    }

    Index

    base?: 1000 | 1024

    Unit scale. Defaults to 1024.

    fractionDigits?: number

    Decimal places for rounded values. Must be an integer from 0 to 20. Defaults to 1.

    invalidValue?: string

    Returned for negative, non-finite, or otherwise invalid input. Defaults to an empty string.