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.
Use the npm registry to host your own code and the npm command line to manage it. Learn more »
how? learn more