Command Line Interface tool for scaffolding Skalfa projects, managing extensions, and ejecting core utilities.
This package is part of the Skalfa Framework, a premium development ecosystem designed to build high-performance, modular web applications and APIs.
See the usage documentation at Documentation.
You can install this command line tool globally using your preferred package manager:
# Using npm (Global)
npm install -g @skalfa/skalfa-cli
# Using bun (Global)
bun install -g @skalfa/skalfa-cliThis package provides the core skalfa developer CLI. The following commands are available:
skalfa create-api <name>: Scaffolds a new high-performance backend API project powered by Elysia, Bun, and modular utility extensions. It prompts sequentially for optional databases, queues, caches, and real-time sockets.skalfa create-app <name>: Scaffolds a new modern Next.js frontend application with pre-configured templates, styles, PWA integrations, and Tauri mobile/desktop wrappers.
skalfa add <extension-name>: Automatically installs and configures an optional extension in the current project root. It is project-aware:- In a backend project, it adds utilities like
redis,queue,cache,cron,da,socket, ororm. - In a frontend project, it adds extensions like
idb,socket,document,pwa,tauri-desktop, ortauri-mobile.
- In a backend project, it adds utilities like
skalfa pick <utility-name>: Ejects a core utility from the compiled core engine directly into your localutils/folder, allowing full local customization while maintaining compatibility.
The following key dependencies are packaged and managed within this project:
| Dependency | Scope | Version |
|---|---|---|
commander |
runtime | ^12.1.0 |
@types/node |
development | ^26.0.0 |
typescript |
development | ^6.0.3 |
This package is licensed under the MIT License. For full license text, see the LICENSE file.
