Apache Cordova Create

Clone this repo:
  1. e6e3bd5 chore: add Node.js 12 to CI services (#39) by エリス · 3 months ago master
  2. d2cf104 Remove deprecated engineStrict from package.json by Jan Piotrowski · 7 months ago
  3. 49e6abc Add or update GitHub pull request and issue template by Jan Piotrowski · 8 months ago
  4. f85490a GH-10 Incremented package version to -dev by エリス · 10 months ago
  5. 646a6a4 GH-10 Updated version and RELEASENOTES.md for release 2.0.0 by エリス · 10 months ago 2.0.x 2.0.0 rel/2.0.0

Build status Build Status


This module is used for creating cordova style projects. It also incudes support for cordova templates. It can fetch templates from npm and git.


var create = require('cordova-create');

create(dir, id, name, cfg, extEvents);
  • dir - directory where the project will be created. Required.
  • id - app id. Required (but can be “undefined”).
  • name - app name. Required (but can be “undefined”).
  • cfg - extra config to be saved in .cordova/config.json Required (but can be “{}”).
  • extEvents - An EventEmitter instance that will be used for logging purposes. Required (but can be “undefined”).

An example of cfg which would fetch a cordova template from npm (or git):

var cfg = {
    lib: {
        www: {
            template: true,
            url: 'cordova-app-hello-world',
            version: ''