cordova-create
Apache Cordova create module. Creates new project from default or template
Last updated a year ago by erisu .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install cordova-create 
SYNC missed versions from official npm registry.

cordova-create

NPM

Node CI 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
}

Current Tags

  • 3.0.0                                ...           latest (a year ago)
  • 3.0.0-nightly.2021.9.17.f94383c8                                ...           nightly (11 days ago)

1214 Versions


Copyright 2014 - 2021 © npmmirror.com |