Skip to main content
function rm
rm(
path: PathLike,
options?: RmOptions,
): Promise<void>
Deprecated

Removes files and directories (modeled on the standard POSIX rm utility).

Parameters

path: PathLike
optional
options: RmOptions

Return Type

Promise<void>

Fulfills with undefined upon success.

Back to top