@any-listen/create-extension
v0.1.4
Published
Any Listen Extension Template Creator
Maintainers
Readme
Any Listen Extension Template Creator
English | 简体中文
Create Any Listen third-party extension project templates. Provides a universal template and an isolated-runtime template.
Features
- Interactive template selection
- Downloads the latest template and scaffolds a project
- Generates a
.envfile (RSA keys included) - Installs dependencies automatically
Requirements
- Node.js >= 22
- A package manager: npm / yarn / pnpm
Usage
Recommended with npx or pnpm dlx:
npm create @any-listen/extension@latest
# or
pnpm create @any-listen/extension@latestInteractive Flow
- Select template type: universal / isolated-runtime
- Enter GitHub user and repo (optional, format:
user/repo) - Enter project name (required when GitHub is empty)
- Select package manager
Template Types
- Universal template: fits most extension projects
- Isolated-runtime template: for extensions that need a sub-isolated runtime environment
Notes
- Templates are downloaded from the latest release of
any-listen/extension-template - Creation stops if a project folder with the same name already exists
- Dependency installation failures will stop the process
Development
pnpm install
pnpm run build