mkdirp-brackets
A small utility that provides bracket-expansion syntax capabilities to mkdirp
.
Installation
Use npm to install:
npm install mkdirp-brackets
Usage
Anyone familiar with using a mkdir -p
in a shell will be familiar with the bracket expansion syntax. It allows for the creation of multiple subdirectories at once.
For example, if you wanted to created a basic src
folder for a frontend project, you could do:
var mkdirp = ; ;
This will created src
, src/styles
and src/scripts
.