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.
Selectively mirror the npm registry inside your firewall. Filter packages based on security, licensing, code quality and more. Build awesome stuff faster. Try npm Enterprise for free…
how? learn more