dir-structure

0.0.1 • Public • Published

#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/');

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i dir-structure

    Weekly Downloads

    1

    Version

    0.0.1

    License

    none

    Last publish

    Collaborators

    • iainjmitchell