node package manager

lib-mkdirp

Make directories recursively

Make Directories

Install

npm i --save lib-mkdirp

Usage

var mkdirp = require('lib-mkdirp');
 
// recursively make a directory 
mkdirp('etc/config');

Recursively make a directory, throwing it it cannot.