A scaffolding tool for quickly creating Typescript project templates.
English | ็ฎไฝไธญๆ
Use npm:
npm create ts-frame@latest
Use yarn:
yarn create ts-frame
Use pnpm:
pnpm create ts-frame
Use bun:
bun create ts-frame
Please 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 |