A scaffolding tool for quickly creating Typescript project templates.
English | 简体中文
Use npm:
npm create ts-frame@latestUse yarn:
yarn create ts-frameUse pnpm:
pnpm create ts-frameUse bun:
bun create ts-framePlease follow the prompts after execution.
You can also directly specify the project name and the required project template through additional command-line options. For example, to build a CLI project, please run:
# npm 7+, additional double dash is required:
npm create ts-frame@latest my-cli-app -- --template cli-tsup
# yarn:
yarn create ts-frame my-cli-app --template cli-tsup
# pnpm:
pnpm create ts-frame my-cli-app --template cli-tsup
# bun:
bun create ts-frame my-cli-app --template cli-tsup| Framework & Project Type | Support | 
|---|---|
| CLI Application | ✅ | 
| Library | ✅ | 
| Vue | 🚧 | 
| React | 🚧 | 
| Tarojs | 🚧 | 
| Uniapp | 🚧 | 
| Nestjs | 🚧 | 
| React Native | 🚧 | 
| Electron | 🚧 | 
The following is a variant of the CLI application project template.
| Variant Name | Description | Template Warehouse | 
|---|---|---|
| tsup | CLI application project template using tsup as a build tool | https://github.com/hacxy/cli-unbuild-template | 
| unbuild | CLI application project template using unbuild as a build tool | https://github.com/hacxy/cli-unbuild-template | 
The following is a variant of the Library project template.
| Variant Name | Description | Template Warehouse | 
|---|---|---|
| empty | Empty library development template | https://github.com/hacxy/library-empty-template |