💖 GitHub Sponsors • 💬 Discord • 📦 NPM • 📚 Docs
@reliverse/reinit is your buddy for bootstrapping the boring stuff — so you can jump straight into building the good stuff.
- Need a
README.md
?.gitignore
?eslint.config.js
? Boom — done. - Configs, docs, boilerplate — Reinit helps you set them up in seconds, not hours.
- 📝 Instantly generate common project files (README, LICENSE, configs, etc).
- ⚙️ Supports a wide range of file types:
eslint
,knip
,tsconfig
,gitignore
, and more. - 🚀 Use presets or customize everything with interactive prompts.
- 🛠️ Choose between single-file or multi-file generation.
- 📦 Comes in two flavors: CLI (
@reliverse/reinit-cli
) and Core (@reliverse/reinit
) — use whichever fits your flow. - 🧠 Handles conflicts smartly: overwrite, skip, prompt, or attach an index.
Ensure Git, Node.js, and bun•pnpm•yarn•npm are installed. Then:
bun i -g @reliverse/reinit-cli
Or use with bun x
(or npx
):
bun x @reliverse/reinit-cli
Run without arguments to launch interactive mode:
reinit-cli
reinit-cli --fileType md:README
reinit-cli --multiple
Add --parallel
to go even faster:
reinit-cli --multiple --parallel --concurrency 3
reinit-cli --fileType git:gitignore --destDir ./my-folder
Some examples of supported fileType
values:
md:README
md:LICENSE
cfg:eslint
cfg:tsconfig.json
cfg:package.json
cfg:reliverse
cfg:knip
git:gitignore
git:gitattributes
Each file type has smart defaults and helpful variations. Choose one, or let the CLI guide you.
- 🔄 Fallback copy mode — If generating fails, Reinit can copy templates from your local base.
- 🧩 Attach index — Already have a file? Reinit can create
file.1.json
,file.2.json
, etc. Instead of overwriting, it builds alongside. - 🧠 Configurable behavior — Add
reinit.config.ts
to control parallelism, conflict handling, and lifecycle hooks.
Flag | Description |
---|---|
--fileType |
File type to generate (e.g. md:README ) |
--destDir |
Destination directory (default: . ) |
--multiple |
Select multiple files via interactive UI |
--parallel |
Run tasks in parallel |
--concurrency |
Set concurrency for parallel execution |
--dev |
Run in dev mode |
- 🧠
@reliverse/reinit
— the core engine - ⚡
@reliverse/prompts
— interactive prompts - 🧰
c12
— zero-config file loading
If @reliverse/reinit
made your setup easier:
- ⭐ Star the repo
- 💖 Sponsor on GitHub
- 🫶 Share it with a dev friend!
MIT © 2025 blefnk (Nazar Kornienko)