commit | 987b3dab394f7b45d2cbc81c62f27929e9f96817 | [log] [tgz] |
---|---|---|
author | Chris Brody <chris.brody@gmail.com> | Wed Sep 12 14:35:45 2018 -0400 |
committer | Raphael von der GrĂ¼n <raphinesse@gmail.com> | Wed Sep 12 20:35:45 2018 +0200 |
tree | fa474a37338589d5ecda80c8d4b4cdfb4af365b6 | |
parent | f40c995714e52a848ba16cb012d6091a008d0fed [diff] |
README.md remove trailing whitespace (#29)
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: '' } } };