This module is used for creating Cordova style projects. It also incudes support for Cordova App Templates. It can fetch templates from npm and git.
constcreate=require('cordova-create');awaitcreate(dest,opts);Required. Path to the destination where the project will be created. Must be an empty dir if it exists.
Optional. Supports following properties.
{// Attributes to be set in package.json & config.xmlid: String,name: String,version: String,// The path/url/package-name to the template that should be usedtemplate: String,// An EventEmitter instance that will be used for logging purposes// (actually it only needs to implement a compatible `emit` method)events: EventEmitter}