syam-init
v0.0.2
Published
Interactive project initializer CLI supporting npm, pnpm, yarn, deno, and bun.
Maintainers
Readme
syam-init
A beautiful, modern, and interactive command-line interface (CLI) to quickly bootstrap configurations for new projects. It supports NPM, PNPM, Yarn, Deno, and Bun with elegant terminal wizards and fast-scaffolding shortcuts.
Features
- 🌟 Beautiful Prompts: Built with
@clack/promptsfor smooth terminal animations and interactions. - 📦 Multi-Manager Support: Works with
npm,pnpm,yarn,deno, andbunout of the box. - ⚙️ Git Integration: Auto-detects local Git configurations (author details, repository URL) to pre-fill prompts.
- ⚡ Fast Init (
-y): Skip all questions and initialize instantly.- Automatically sets
"type": "module"(ESModule) by default for npm/pnpm/yarn/bun. - Detects existing lockfiles to automatically pick the right package manager if none is specified.
- Generates Native
deno.jsonconfiguration for Deno projects.
- Automatically sets
Installation
You can run syam directly using npx:
npx syam-init initOr install it globally:
npm install -g syam-initUsage
1. Interactive Mode
Run the wizard to choose your manager and enter project details (name, version, description, entry point, test command, git repo, keywords, author, license, and module type):
syam initIf you already know which manager you want to use, pass it as an argument to skip the manager selection prompt:
syam init pnpm2. Quick Initialization (Yes Mode)
Initialize the project instantly with default settings. The generated package config will be configured with ESModule (type: "module") format by default:
syam init -yYou can combine it with a manager argument:
syam init bun -yGenerated Config Files
- NPM / PNPM / Yarn / Bun: Generates
package.json - Deno: Generates
deno.json
License
MIT
