• Get the size of a file.

    Parameters

    • path: string

      Path to the file.

    Returns Promise<number>

    The size of the file in bytes.