0.0.1 • Published 11 years ago

dir-structure v0.0.1

Weekly downloads
3
License
-
Repository
-
Last release
11 years ago

#Dir-Structure

Build Status

NodeJs Package for creating directory structure based upon a JSON structure.

##Installation

npm install dir-structure

##Usage

var dirStructure = require('dir-structure').create();

var structureJSON = {
  'aDirectory' : {
    'aSubDirectory' : {}
  },
  'anotherDirectory' : {}
};
dirStructure.create(structureJSON);

//or create at location...
dirStructure.create(structureJSON, '/usr/local/');