rm - Node documentation
function rm

Usage

import { rm } from "node:fs";

Asynchronously removes files and directories (modeled on the standard POSIX rmutility). No arguments other than a possible exception are given to the completion callback.

Parameters

path: PathLike
callback: NoParamCallback

Return Type

void

Parameters

path: PathLike
options: RmOptions
callback: NoParamCallback

Return Type

void