Deno.RemoveOptions - Deno documentation
interface Deno.RemoveOptions

Options which can be set when using Deno.remove and Deno.removeSync.

Properties

optional
recursive: boolean = false

If set to true, path will be removed even if it's a non-empty directory.