• Synchronously reads a file and returns its content as a buffer.

    Parameters

    • path: string

      Path to the file to read.

    Returns Buffer

    The content of the file.