Neutral Political Machine
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    dir-structurepublic

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

    Keywords

    none

    install

    npm i dir-structure

    Downloadsweekly downloads

    1

    version

    0.0.1

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar