npm.io
0.14.1 • Published 11 years ago

mcap-generator-ionic

Licence
MIT
Version
0.14.1
Deps
7
Vulns
0
Weekly
0

mcap-generator-ionic

Installation

Install the module with: npm install mcap-generator `

Example

var Generator = require('mcap-generator-ionic');

var options = {
    directory: 'myapp',
    template: 'helloworld',
    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.