• Asynchronous rmdir(2) - delete a directory.

    Parameters

    • path: PathLike

      A path to a file. If a URL is provided, it must use the file: protocol.

    • Optional options: RmDirOptions

    Returns Promise<void>