
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.
@kalxjs/devtools
Advanced tools
Advanced development tools for debugging, profiling, and optimizing kalxjs applications.
# Using npm
npm install @kalxjs-framework/devtools
# Using pnpm
pnpm add @kalxjs-framework/devtools
import { createApp } from '@kalxjs-framework/runtime'
import { DevTools } from '@kalxjs-framework/devtools'
import type { DevToolsConfig } from '@kalxjs-framework/devtools'
const config: DevToolsConfig = {
app: {
name: 'MyApp',
version: '1.0.0'
},
performance: {
cpu: true,
memory: true,
network: true
},
features: {
timeTravel: true,
componentInspector: true,
signalGraph: true
}
}
const app = createApp(App)
app.use(DevTools, config)
import { profile, measure } from '@kalxjs-framework/devtools'
// Component profiling
@profile()
class ProfiledComponent {
@measure()
expensiveOperation() {
// Performance tracked automatically
}
}
// Manual profiling
const profiler = profile.start('CustomOperation')
// ...operations
profiler.end()
import { defineDevToolsPlugin } from '@kalxjs-framework/devtools'
export const CustomDebugger = defineDevToolsPlugin({
name: 'custom-debugger',
setup(context) {
return {
trackCustomMetric(name: string, value: number) {
context.addMetric({ name, value })
}
}
}
})
// vite.config.ts
import { kalxjsDevTools } from '@kalxjs-framework/devtools/vite'
export default defineConfig({
plugins: [
kalxjsDevTools({
sourceMap: true,
componentGraph: true
})
]
})
The kalxjs DevTools browser extension provides an enhanced debugging experience directly in your browser's developer tools panel.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.
FAQs
Developer Tools for KalxJs framework
We found that @kalxjs/devtools 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.