function rm Usage in Denoimport { rm } from "node:fs/promises"; rm(path: PathLike,options?: RmOptions,): Promise<void> 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.