Ende.remove
function ยท requires --allow-write
function Ende.remove(path: string | URL, options?: RemoveOptions): Promise<void>Removes the named file or directory.
await Ende.remove("/path/to/empty_dir/or/file");
await Ende.remove("/path/to/populated_dir/or/file", { recursive: true });
Throws error if permission denied, path not found, or path is a non-empty
directory and the recursive option isn't set to true.
Requires allow-write permission.