node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

lib-mkdirp

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.