chore(asf): update git notification settings
1 file changed
tree: f05c84abb40a8129b27bd33f3f6661e3d4f54d93
  1. .asf.yaml
  2. .eslintignore
  3. .eslintrc.yml
  4. .github/
  5. .gitignore
  6. .npmignore
  7. CONTRIBUTING.md
  8. LICENSE
  9. NOTICE
  10. README.md
  11. RELEASENOTES.md
  12. index.js
  13. package-lock.json
  14. package.json
  15. spec/
README.md

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
}