Skip to main content
rmSync - fs - Node documentation
function rmSync

Usage in Deno

import { rmSync } from "node:fs";
rmSync(
path: PathLike,
options?: RmOptions,
): void

Synchronously removes files and directories (modeled on the standard POSIX rm utility). Returns undefined.

Parameters

path: PathLike
optional
options: RmOptions

Return Type

void