Description
Node.js programs can create nested directories recursively through a small mkdirp utility library. It helps scripts and build tools ensure output paths exist before writing generated files.
Directory creation helpers can write into unintended paths if inputs are wrong. Validate user-supplied paths in tools that depend on it.