A zero-dependency, Promise-friendly mkdirp written in VanillaJS for node.
npm install --save @root/mkdirp
'use strict';var mkdirp =;
'use strict';var util = ;var mkdirp = util;;
Why not substack's mkdirp?
Fewer dependencies means code that's more easily audited, and less surface area for attacks.
substack's implementation is excellent and well-tested, but it's not Promise / await friendly and it depends on minimist, which isn't necessary because we don't need the commandline usage.