Nrm
Bun

namespace

fs.rm

function rm(
path: PathLike,
callback: NoParamCallback
): void;

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

function rm(
path: PathLike,
options: RmOptions,
callback: NoParamCallback
): void;

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

namespace rm