New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

swiftjs-cli

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swiftjs-cli

CLI tools for SwiftJS - A fast, modern, and type-safe web framework

latest
Source
npmnpm
Version
0.8.0
Version published
Maintainers
1
Created
Source

swiftjs-cli

The official command-line interface for SwiftJS.

npm version License: MIT

Installation

npm install -g swiftjs-cli

Or use via npx:

npx swiftjs-cli <command>

Commands

Development

Start the development server with hot-reloading:

swiftjs dev

Production

Build the application for production:

swiftjs build

Start the production server:

swiftjs start

Utilities

Initialize a new project (alias for create-swiftjs-app):

swiftjs init

List all registered routes:

swiftjs routes

Inspect project information:

swiftjs info

Clean build artifacts (dist, node_modules/.cache):

swiftjs clean

Usage in Scripts

Add these to your package.json for easy access:

{
  "scripts": {
    "dev": "swiftjs dev",
    "build": "swiftjs build",
    "start": "swiftjs start",
    "routes": "swiftjs routes"
  }
}

Requirements

  • Node.js >= 18.0.0

License

MIT © AshAvi

Keywords

swiftjs

FAQs

Package last updated on 28 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts