{"repo":"LucivHuang/heimdallr-sdk","free":true,"listed":false,"github":"https://github.com/LucivHuang/heimdallr-sdk","clone":"git clone https://github.com/LucivHuang/heimdallr-sdk.git","description":"A lightweight front-end monitoring sdk/一款简单易用、轻量化、插件化的前端监控sdk","language":"TypeScript","stars":688,"topics":["frontend","monorepo","rollup","typescript","error-monitoring","monitoring","performance-monitoring","heimdallr-sdk"],"license":"MIT","category":"analytics","readme_excerpt":"HEIMDALLR-SDK 首创插件化、可插拔的前端埋点 SDK · 简单易用、轻量化、插件化的前端监控利器 The first plug-in, pluggable front-end tracking SDK — easy-to-use, lightweight, and extensible Documentation To check out docs, visit heimdallr-sdk. Env - node version: 20.16.0 - npm script: pnpm Preparation Make sure MySQL and RabbitMQ are installed Dev Installation Dependency Ensure that the local MySQL database service is started - host: localhost - port: 3306 Initialize the database and automatically create a database named test base database for debugging Start Local Service Build Installation Dependency Build a single package For example, build a browser package Build all packages Testing E2E Tests Comprehensive end-to-end testing suite with Playwright covering SDK core functionality, all plugins, and manager integration. Prerequisites - MySQL running at localhost:3306 with database test base - Node.js = 16, pnpm = 9.7.1 First Time Setup Run Tests Test Coverage - ✅ SDK Core & Manager Integration (9 tests) - ✅ Error Capture (5 tests) - ✅ Mock App Integration (7 tests) - ✅ Console Plugin (4 tests) - ✅ Customer Events (6 tests) - ✅ DOM Plugin (5 tests) - ✅ Fetch Plugin (4 tests) - ✅ Page Crash Detection (2 tests) - ✅ Performance Metrics (5 tests) - ✅ Recording Plugin (3 tests) - ✅ Routing Plugin (5 tests) - ✅ Vue Plugin (3 tests) - ✅ XHR Plugin (3 tests) For detailed testing documentation, see e2e/README.md Sponsor 持续优化更新中... 完全开源，绝不收费！！！ 如果对您有所帮助，那就小小支持一下吧 😘 Alipay Wechat - -","default_branch":null,"files":null,"tree":[],"storefront":"/r/LucivHuang","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/LucivHuang/heimdallr-sdk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}