@stacksleuth/svelte-agent
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

@stacksleuth/svelte-agent

StackSleuth Svelte Agent

StackSleuth Svelte Agent

npm version License: MIT TypeScript Node.js

🚀 What is StackSleuth Svelte Agent?

Specialized Svelte performance monitoring agent - Component lifecycle tracking, store subscription monitoring, reactive state analysis, DOM mutation observation, and real-time memory profiling.

✨ Key Features

  • 🔥 Svelte Component Tracking: Component lifecycle and performance monitoring
  • 🗄️ Store Monitoring: Svelte store subscription and state tracking
  • 🔄 Reactive State Analysis: Svelte reactivity system performance
  • 🌐 DOM Mutation Tracking: Efficient DOM change monitoring
  • 💾 Memory Profiling: Component memory usage optimization
  • SvelteKit Integration: Full-stack Svelte application monitoring
  • 📊 Transition Analysis: Svelte transition and animation performance
  • 🎯 Action Tracking: Custom action performance monitoring

📦 Installation

npm install @stacksleuth/svelte-agent
yarn add @stacksleuth/svelte-agent
pnpm add @stacksleuth/svelte-agent

🏁 Quick Start

import { SvelteAgent } from '@stacksleuth/svelte-agent';
import App from './App.svelte';

// Initialize Svelte agent
const agent = new SvelteAgent({
  enabled: true,
  trackComponents: true,
  trackStores: true,
  monitorDOM: true
});

// Start monitoring
agent.startMonitoring();

// Initialize your Svelte app
const app = new App({
  target: document.getElementById('app'),
  props: {
    name: 'world'
  }
});

export default app;

📚 Resources

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

📄 License

MIT License - see the LICENSE file for details.


WebsiteDocumentationNPM RegistryGitHub

Made with ⚡ by StackSleuth

Package Sidebar

Install

npm i @stacksleuth/svelte-agent

Weekly Downloads

7

Version

0.2.3

License

MIT

Unpacked Size

55.9 kB

Total Files

10

Last publish

Collaborators

  • jacklauoptimizer