node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

mcap-generator

mcap-generator

Installation

Install the module with: npm install mcap-generator ` ## Example

var Generator = require('mcap-generator');
 
var options = {
    directory: 'myapp',
    template: 'default',
    templateValues: {
        name: 'My first App',
        package: 'com.company.myfirstapp'
    }
}
 
var gen = new Generator();
gen.createApp(options, function (err) {
    if(err) {
        console.error(err);
        return;
    }
    console.log('Done!');
});

Testing

Running ```npm test`` will run the unit tests with mocha.