Socket
Book a DemoInstallSign in
Socket

@hemia/cli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hemia/cli

Hemia CLI

0.0.1
latest
npmnpm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

@hemia/cli

Hemia CLI is a command-line tool to quickly and consistently generate, structure, and manage projects and packages in the Hemia ecosystem.

🚀 Installation

npm install -g @hemia/cli

Using NPX

npx @hemia/cli <command>

📦 Available Commands

Create a New Project

hemia new <name> [--vue|--node|--laravel]

Generates a new base project depending on the specified type. If not provided, the default type is vue.

Examples:

hemia new my-app --vue
hemia new api-service --node

Generate a Resource

Alias: g

hemia g <type> <name> [options]

Available Types:

  • project: base project structure

    hemia g project my-app
    
  • package: standalone module (js, ts, py)

    hemia g package utils
    
  • api: backend scaffolding with support for MySQL or MongoDB

    hemia g api auth --mysql
    hemia g api users --mongodb
    
  • component: (coming soon) generates a UI component

  • service: (coming soon) business logic module

  • model: (coming soon) data model

  • doc: (coming soon) base documentation

🛠 Project Structure

All resources use base templates you can find and modify in the directory:

templates/
├── vue/
├── node/
├── laravel/
├── package-ts/
├── package-js/
└── package-py/

🔧 Optional Configuration

You can create a .hemia.json file in the project root or in your $HOME directory to set default values:

{
  "defaultProjectType": "vue",
  "defaultPackageLang": "ts",
  "author": "Hemia Technologies"
}

📖 Help

Display help from the CLI:

hemia --help

📜 License

MIT — © Hemia Technologies

Keywords

cli

FAQs

Package last updated on 30 Jul 2025

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.