Function readDirRecursive

  • Gets all files within a directory and its subdirectories, recursively. Returns an array of paths relative to the given input path.

    Parameters

    • dirPath: string

    Returns Promise<string[]>