| commit | f0f1c5d2aefd77edf83b5a0c31a48dd1de455ea9 | [log] [tgz] |
|---|---|---|
| author | エリス <erisu@users.noreply.github.com> | Mon Sep 01 11:55:01 2025 +0900 |
| committer | GitHub <noreply@github.com> | Mon Sep 01 11:55:01 2025 +0900 |
| tree | 1e90a1b830433199f2ec91eb927067f5d0e6f2a3 | |
| parent | 90e6b80724c011019d73ae0c034c6ab3adb1845b [diff] |
chore: add .npmrc & update ignore files (#103) * chore: add .npmrc & update ignore files * chore: update README badges
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.
const create = require('cordova-create'); await create(dest, opts);
destRequired. Path to the destination where the project will be created. Must be an empty dir if it exists.
optsOptional. 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 }