Skip to content

recursive option for fs.rmdir #27764

@silverwind

Description

@silverwind

fs.mkdir gained a recursive option in 10.12 (providing alternative to the mkdirp module) and I think the popularity of the rimraf module speaks for itself that there is very high userland to justify having it on fs.rmdir and it's variants too.

Examples of other languages implementing similar functionality are golang's os.RemoveAll or python's shutil.rmtree.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.fsIssues and PRs related to the fs subsystem / file system.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions