
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Hemia CLI is a command-line tool to quickly and consistently generate, structure, and manage projects and packages in the Hemia ecosystem.
npm install -g @hemia/cli
npx @hemia/cli <command>
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
Alias: g
hemia g <type> <name> [options]
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
All resources use base templates you can find and modify in the directory:
templates/
├── vue/
├── node/
├── laravel/
├── package-ts/
├── package-js/
└── package-py/
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"
}
Display help from the CLI:
hemia --help
MIT — © Hemia Technologies
FAQs
Hemia CLI
We found that @hemia/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.