Make directories recursively
npm i --save lib-mkdirp
var mkdirp = require('lib-mkdirp'); // recursively make a directory mkdirp('etc/config');
Recursively make a directory, throwing it it cannot.
With npm private modules, you can use the npm registry to host your own private code and the npm command line to manage it. Learn more…
how? learn more