mcap-generator
v1.1.6
Published
## Installation Install the module with: `npm install mcap-generator` ` ## Example ```javascript var Generator = require('mcap-generator');
Downloads
26
Readme
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.