• Read a directory.

    Parameters

    • path: string

      The path to read.

    Returns Promise<string[]>

    A promise that resolves to an array of file names.