Skip to main content
RmDirOptions.recursive - node__fs.d.ts - Node documentation
property RmDirOptions.recursive

Usage in Deno

```typescript import { type RmDirOptions } from "node:node__fs.d.ts"; ```
Deprecated
since v14.14.0 In future versions of Node.js and will trigger a warning `fs.rmdir(path, { recursive: true })` will throw if `path` does not exist or is a file. Use `fs.rm(path, { recursive: true, force: true })` instead. If `true`, perform a recursive directory removal. In recursive mode, operations are retried on failure.

Type

boolean | undefined