
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@kalxjs/cli
Advanced tools
Modern CLI tooling for kalxjs development workflow.
# Using npm
npm install -g @kalxjs/cli
# Using yarn
yarn global add @kalxjs/cli
# Using pnpm
pnpm add -g @kalxjs/cli
# Create a new project with interactive prompts
kalxjs create my-app
✔ Add Router support? Yes
✔ Add State Management? Yes
✔ Add SCSS support? Yes
✔ Add Single File Components support? Yes
✔ Add Composition API support? Yes
✔ Add API integration utilities? Yes
✔ Add Performance optimization utilities? Yes
✔ Add Plugin system support? Yes
✔ Add Testing setup? Yes
✔ Add ESLint setup? Yes
✔ Add Custom Renderer support? Yes
# Create a new project with interactive prompts
kalxjs create my-app
# Create a new project with specific features
kalxjs create my-app --router --state --scss --testing --linting
# Create a new project skipping prompts (all features enabled)
kalxjs create my-app --skip-prompts
# Create a new project without installing dependencies
kalxjs create my-app --skip-install
# Generate a basic component
kalxjs component MyComponent
# Generate a component with options
kalxjs component MyComponent --dir src/components --style scss --test --props --state --methods --lifecycle
# Use the shorthand alias
kalxjs c MyComponent
# Start development server
kalxjs serve
# Start development server on a specific port
kalxjs serve --port 8080
# Build for production (coming soon)
kalxjs build
When you create a new project with kalxjs CLI, it generates the following structure:
my-app/
├── app/ # Application source code
│ ├── components/ # Reusable components
│ ├── core/ # Core application files
│ ├── navigation/ # Router configuration (if enabled)
│ ├── pages/ # Page components (if router enabled)
│ ├── state/ # State management (if enabled)
│ ├── styles/ # Global styles (if SCSS enabled)
│ ├── services/ # API services (if API enabled)
│ ├── hooks/ # Composition hooks (if enabled)
│ ├── extensions/ # Plugins (if enabled)
│ ├── utils/ # Utility functions
│ ├── renderer/ # Custom renderer (if enabled)
│ └── templates/ # Templates for rendering (if enabled)
├── assets/ # Static assets
├── config/ # Configuration files
│ └── app.config.js # Application configuration
├── docs/ # Documentation
├── public/ # Public files
└── index.html # HTML entry point
The project configuration is stored in config/app.config.js
:
/**
* KALXJS Application Configuration
*/
const config = {
name: 'my-app',
version: '0.1.0',
description: 'A powerful KALXJS application',
// Environment settings
env: {
development: {
apiBaseUrl: 'http://localhost:3000/api',
debug: true
},
production: {
apiBaseUrl: '/api',
debug: false
}
},
// Feature flags
features: {
router: true,
state: true,
scss: true,
sfc: true,
composition: true,
api: true,
performance: true,
plugins: true,
testing: true,
linting: true,
customRenderer: true
}
};
export default config;
The following features are planned for future releases:
If you encounter issues during installation, try:
npm install -g @kalxjs/cli --force
If you see dependency conflicts when creating a new project:
cd my-app
npm install --legacy-peer-deps
# or
npm install --force
If the default port (3000) is already in use, the CLI will automatically find an available port. You can also specify a port:
kalxjs serve --port 8080
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)This project is licensed under the MIT License.
FAQs
Command Line Interface for KalxJs framework
The npm package @kalxjs/cli receives a total of 58 weekly downloads. As such, @kalxjs/cli popularity was classified as not popular.
We found that @kalxjs/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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.