crachinsight
v2.0.2
Published
Introducing crachinsight, the ultimate lightweight analytics tool for web developers! This JavaScript-based package empowers you to effortlessly track your analytics data, monitor app crashes, and capture API failures all in one centralized location. Desi
Downloads
14
Readme
crashinsight
Overview
InsightErrorLogger is a comprehensive tool for capturing frontend crashes, API failures, and performance issues, with session tracking, browser details, network information, and more.
Installation
npm install crashinsight
Usage
import InsightErrorLogger from 'crachinsight';
InsightErrorLogger.init({
apiKey: 'YOUR_API_KEY',
projectId: 'YOUR_PROJECT_ID',
capturePerformance: true,
captureAPI: true,
captureUnhandledErrors: true,
});
Features
Error logging with stack traces. API failure logging for both Fetch and XMLHttpRequest. Performance monitoring for page load and resource timings.