commit | ef7f8cb522e6231ae98fa49bc910e1334d02083a | [log] [tgz] |
---|---|---|
author | Raphael von der GrĂ¼n <raphinesse@gmail.com> | Wed Nov 06 19:33:42 2019 +0100 |
committer | GitHub <noreply@github.com> | Wed Nov 06 19:33:42 2019 +0100 |
tree | 42c94049a98a52842757a265b0e428f79e9dd814 | |
parent | c9fa9ed83d473181fd30a34d48f1304c10cfdb93 [diff] |
Add syntax highlighting to code samples in README (#51)
This module is used for creating cordova style projects. It also incudes support for cordova templates. It can fetch templates from npm and git.
const create = require('cordova-create'); await create(dest, opts);
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 }