You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@stacksleuth/frontend-agent

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stacksleuth/frontend-agent

Advanced frontend performance monitoring for web applications - DOM event tracking, component lifecycle profiling, bundle analysis, memory leak detection, and real-time user interaction monitoring.

0.2.3
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

@stacksleuth/frontend-agent

StackSleuth Frontend Agent

StackSleuth Frontend Agent

npm version License: MIT TypeScript Node.js

🚀 What is StackSleuth Frontend Agent?

Advanced frontend performance monitoring for web applications - DOM event tracking, component lifecycle profiling, bundle analysis, memory leak detection, and real-time user interaction monitoring.

✨ Key Features

  • 🌐 DOM Event Tracking: Comprehensive user interaction monitoring
  • ⚛️ Component Lifecycle: Framework-agnostic component profiling
  • 📦 Bundle Analysis: JavaScript bundle performance optimization
  • 💾 Memory Leak Detection: Client-side memory usage monitoring
  • 📊 Core Web Vitals: LCP, FID, CLS, and other performance metrics
  • 🔄 Real-time Monitoring: Live performance insights
  • 📱 Mobile Optimization: Mobile-specific performance tracking
  • 🎯 User Journey Analysis: Complete user interaction flow tracking

📦 Installation

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

🏁 Quick Start

import { FrontendAgent } from '@stacksleuth/frontend-agent';

// Initialize the agent
const agent = new FrontendAgent({
  enabled: true,
  trackUserInteractions: true,
  monitorWebVitals: true
});

// Start monitoring
agent.startMonitoring();

// Track custom events
agent.trackEvent('user-action', {
  action: 'button-click',
  component: 'LoginForm'
});

// Track page navigation
agent.trackPageView('/dashboard', {
  userId: '12345',
  referrer: document.referrer
});

📚 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

Keywords

performance

FAQs

Package last updated on 10 Jun 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