KoryNunn / dir-template

create a directory structure based on a template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dir-template

create a directory structure based on a template

Usage

dirTemplate(structure[, relativePath, done])

Example

var dirTemplate = require('dir-template');

dirTemplate({
    foo:{
        bar:null,
        things: null
    }
});

will create the structure:

foo/
  bar/
  things/

About

create a directory structure based on a template

License:MIT License


Languages

Language:JavaScript 100.0%