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.
fs.mkdir gained a
recursiveoption in 10.12 (providing alternative to themkdirpmodule) and I think the popularity of therimrafmodule speaks for itself that there is very high userland to justify having it onfs.rmdirand it's variants too.Examples of other languages implementing similar functionality are golang's
os.RemoveAllor python'sshutil.rmtree.