create-any-tdf

A CLI for creating STDF, RTDF, and VTDF TypeScript projects
513 778
Install
npm install create-any-tdf
Latest Version:0.0.1
License:MIT
Last Updated:Oct 19, 2026
Links: GitHub  ·  npm
Maintainer: dufu1991

create-any-tdf

Unified scaffolding CLI for creating STDF, RTDF, and VTDF TypeScript projects.

create-any-tdf is the project generator for the Any TDF component family. It creates framework-native starter applications without requiring this Monorepo at runtime.

Usage

bun create any-tdf
bun create any-tdf my-app -f svelte -t sktt -b lucide
bun create any-tdf my-app -f react -t vrut -b phosphor
bun create any-tdf my-app -f vue -t vrtt -b tabler

The CLI requires Node.js 20.19 or newer, or Node.js 22.12 or newer. Generated projects may use Bun, npm, pnpm, or Yarn, while this repository uses Bun for development and verification. Yarn users need Yarn Berry (>= 2): the Svelte and Vue templates declare npm: alias dependencies that Yarn classic (1.x) cannot install — use Yarn Berry, or pick npm, pnpm, or Bun instead.

Options

Option Default Description
-f / --framework required in non-interactive mode svelte, react, or vue.
-t / --template first framework template Template name filtered by framework.
-l / --language en_US Prompt language.
-i / --icon-usage svg-symbol svg-symbol, iconify, both, or none. Also accepts legacy any-tdf-icon.
-m / --theme-mode multi single, multi, or all.
-b / --built-in-icon-library default default, remix, lucide, phosphor, tabler, iconoir, or reicon. Also supports --builtInIconLibrary.
-p / --package-manager bun bun, npm, pnpm, or yarn.
--local-packages disabled Workspace root containing local STDF, RTDF, VTDF, and shared packages. Intended for repository validation.

default initializes the generated project with the current component default, remix.

Templates

Framework Templates
Svelte / STDF sktt, skut, vstt, vsut
React / RTDF vrtt, vrut
Vue / VTDF vrtt, vrut

All templates are TypeScript projects. Tailwind CSS and UnoCSS are both supported.

Local source validation

The CLI only writes registry versions that really exist. Validate the templates against this repository with:

bun run verify:templates

For one project, pass the workspace root explicitly:

bun run dist/index.js ../my-app -f react -t vrtt --local-packages ../..

Links

License

create-any-tdf is released under the MIT License.

Related Packages

@bkincz/spool

spool CLI: create, configure and maintain micro frontends

4,004 1
@tesserai/cli

Install a tesserai design system into your project as components you own, keep i...

2,584 0
@ravox-ui/cli

Add Ravox Kit components, blocks and themes to your project (React, Vue, Svelte...

628
agod-cli

🚀 agod前端脚手架

2,032
sveltease

Seamlessly integrate svelte with vue, react with vite, react with cra and next.j...

1,274 11

Version History

Version Released License
0.0.1 MIT
Pre-releases (2)
Version Released License
0.0.1-alpha.2 MIT
0.0.1-alpha.0 MIT