create-bite
v1.0.3
Published
[](https://github.com/Sumangal44/create-bite/actions/workflows/npm-publish.yml) > Zero-config scaffolder for modern web apps. Pick a framework + temp
Readme
create-bite
Zero-config scaffolder for modern web apps. Pick a framework + template and get a ready-to-run project in seconds.
- Interactive prompts with pretty, colorful UI
- Sensible defaults for TypeScript or JavaScript
- Quick start for React, Vue, Svelte, Solid, Preact, Lit, Qwik, and Vanilla
- Optional “immediate” install + dev server startup
Requirements
- Node.js: 20.19+ or 24.12+
Scaffolding Your First Project
Compatibility Note: create-bite requires Node.js version 20.19+, or 24.12+. Some templates may require higher versions.
With npm:
npm create bite@latestWith yarn:
yarn create biteWith pnpm:
pnpm create biteWith Bun:
bun create biteWith Deno:
deno run -A npm:create-biteThen follow the prompts!
Non‑Interactive Examples
Skip prompts by passing options. For example, to scaffold a Vue app in my-vue-app:
# npm 7+, extra double-dash is needed:
npm create bite@latest my-vue-app -- --template vue
# yarn
yarn create bite my-vue-app --template vue
# pnpm
pnpm create bite my-vue-app --template vue
# bun
bun create bite my-vue-app --template vue
# deno
deno run -A npm:create-bite my-vue-app --template vueUse . to scaffold into the current directory:
npm create bite@latest . -- --template reactCreate into nested folders:
npm create bite@latest packages/web -- --template svelteCLI Options
Run create-bite --help to see the full help. Abridged:
Usage: create-bite [OPTION]... [DIRECTORY]
Options:
-t, --template NAME use a specific template
-i, --immediate install dependencies and start dev
--interactive / --no-interactive force interactive / non-interactive modeAdditional behavior:
- Directory handling: if the target exists and is not empty, you’ll be prompted to remove files or cancel. Passing
--overwriteskips the prompt and removes existing files. - Immediate mode: pass
--immediate(or-i) to install deps and start the dev server right away. - Package manager: detected automatically from your environment; you can still run the generated project with any manager.
Available Templates
Each framework has TypeScript and JavaScript variants. TypeScript variants end with -ts.
vanilla,vanilla-tsvue,vue-tsreact,react-ts,react-swc,react-swc-ts,react-compiler,react-compiler-tspreact,preact-tslit,lit-tssvelte,svelte-tssolid,solid-tsqwik,qwik-ts
You can use . for the project name to scaffold in the current directory.
Troubleshooting
- “This is not the tsc command you are looking for”: ensure
typescriptis installed in your devDependencies if you runtscyourself. The CLI does not requiretscto scaffold. - ESM/CommonJS errors in custom scripts: generated templates default to ESM in most ecosystems. If you modify tooling, align
typeinpackage.jsonand use appropriate imports. - Corporate proxies / network: if dependency install is slow or blocked, use
--no-immediateto skip the install step and run it later with your proxy configuration.
Contributing
Issues and PRs are welcome. See the repository: https://github.com/sumangalkaran/create-bite
License
MIT © Sumangal Karan
Releasing (Auto Publish)
This repo is configured to auto-publish to npm when you push a version tag like v1.2.3.
- Setup once:
- Create an npm Automation token in your npm account.
- Add it as a GitHub secret named
NPM_TOKENin the repository settings.
- Release steps:
- Bump version locally:
npm version patch(orminor/major). - Push the commit and tag:
git push && git push --tags. - GitHub Actions will run tests, build, and
npm publishautomatically.
- Bump version locally:
Local testing before release:
npm ci
npm test
npm run build
npm pack --dry-run