# create-phaser

> > **Compatibility Note** : Vite Phaser requires Node.js version lts or latest. Please upgrade if your package manager warns about it.

Latest version **0.0.3** (published 2023-09-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install create-phaser
pnpm add create-phaser
yarn add create-phaser
bun add create-phaser
```

Provides the commands `cpg`, `create-phaser`.

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2023-09-15 |
| First published | 2023-09-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | >=18.0.0 \|\| >=20.0.0 |
| Dependencies | 6 |
| Unpacked size | 865 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Allen Wong |
| Maintainers | xiaofuyesnew |

## Links

- npm: https://www.npmjs.com/package/create-phaser
- Repository: https://github.com/xiaofuyesnew/vite-phaser
- Homepage: https://github.com/xiaofuyesnew/vite-phaser/tree/main/packages/create-phaser#readme
- Issues: https://github.com/xiaofuyesnew/vite-phaser/issues
- npm.io page: https://npm.io/package/create-phaser

## Dependencies (6)

- [prompts](https://npm.io/package/prompts.md) ^2.4.2
- [fs-extra](https://npm.io/package/fs-extra.md) ^11.1.1
- [kolorist](https://npm.io/package/kolorist.md) ^1.8.0
- [minimist](https://npm.io/package/minimist.md) ^1.2.8
- [cross-spawn](https://npm.io/package/cross-spawn.md) ^7.0.3
- [validate-npm-package-name](https://npm.io/package/validate-npm-package-name.md) ^5.0.0

## Recent versions

- 0.0.3 (latest) — 2023-09-15
- 0.0.2 — 2023-09-05
- 0.0.1 — 2023-09-05

## README

# create-phaser

## Scaffolding Your First Vite Phaser Project

> **Compatibility Note** : Vite Phaser requires Node.js version lts or latest. Please upgrade if your package manager warns about it.

With NPM:

```bash
$ npm create phaser
```

With Yarn:

```bash
$ yarn create phaser
```

With PNPM:

```bash
$ pnpm create phaser
```

Then follow the prompts!

You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Phaser demo project, run:

```bash
# npm 7+, extra double-dash is needed:
$ npm create phaser my-phaser-game -- --template demo

# yarn
$ yarn create phaser my-phaser-game --template demo

# pnpm
$ yarn create phaser my-phaser-game --template demo
```

Currently supported template presets include:

- `default`
- `demo`
- `extension`
- `electron`
- `tauri`

---
_Source: https://npm.io/package/create-phaser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
