Apache Cordova Create

Clone this repo:
  1. 1e8d815 chore(deps): bump sigstore from 4.1.0 to 4.1.1 (#132) by dependabot[bot] · 5 hours ago master
  2. d16da2b chore(deps): bump @sigstore/verify from 3.1.0 to 3.1.1 (#131) by dependabot[bot] · 5 hours ago
  3. aad5812 chore(deps-dev): bump js-yaml from 4.2.0 to 4.3.1 (#135) by dependabot[bot] · 5 hours ago
  4. d9fd963 chore(deps): bump ip-address from 10.2.0 to 10.4.0 (#134) by dependabot[bot] · 5 hours ago
  5. 77b068b chore(deps): bump @sigstore/core from 3.1.0 to 3.2.1 (#130) by dependabot[bot] · 5 hours ago

cordova-create

NPM

Node CI Release Audit codecov.io

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.

Usage

const create = require('cordova-create');
await create(dest, opts);

Parameters

dest

Required. Path to the destination where the project will be created. Must be an empty dir if it exists.

opts

Optional. Supports following properties.

{
    // Attributes to be set in package.json & config.xml
    id: String,
    name: String,
    version: String,

    // The path/url/package-name to the template that should be used
    template: String,

    // An EventEmitter instance that will be used for logging purposes
    // (actually it only needs to implement a compatible `emit` method)
    events: EventEmitter
}