function promises.rm Usage in Denoimport { promises } from "node:fs"; 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.