README
Generator
A super simple generator. It takes a source of files that are ejs templates and a destination directory along with some options (for the templates). That's it.
Installation
Npm:
npm install generatorjs
Getting Started
Require generatorjs:
var generator = require('generatorjs');
Create a new generator:
generator(__dirname + '/templates')
.dest(process.cwd())
.vars({ name: 'foo' })
.run()
.then(function() {
// success!
});
By default, generatorjs also logs what it's doing.
Tests
make test
License
MIT