@erralyze/analytics v0.1.3
Erralyze Analtics
Erralyze Analtics is a JavaScript package for automatic error detection and logging in web applications. It securely sends relevant error data to the Erralyze platform, where developers can analyze them in a user-friendly dashboard.
ā Note: This package is currently in Closed Beta and can only be used by whitelisted users. A public release is planned for 2025 Q3.
⨠Features
- Automatic Error Detection
Captures JavaScript errors and sends them to Erralyze. - Manual Logging
Developers can manually report errors. - Framework-Agnostic
Works with VanillaJS, React, Angular, Vue, and more. - Secure Data Transmission
All error reports are encrypted and sent via HTTPS.
š Installation
npm install @erralyze/analyticsš Usage
1. Initialization
Import the package into your application and initialize it with your API key.
import Erralyze from "@erralyze/analytics";
Erralyze.init({ apiKey: "YOUR-API-KEY" });or
<script src="https://app.erralyze.com/v1/package/analytics.js"></script>
<script>
Erralyze.init({ apiKey: "YOUR-API-KEY" });
</script>2. Manually Report Errors
Besides automatic error detection, you can also log custom errors:
Erralyze.debug("Something went wrong");
Erralyze.info("Something went wrong");
Erralyze.warn("Something went wrong");
Erralyze.error("Something went wrong");ā Configuration
The package can be customized with additional options:
Erralyze.init({
apiKey: "YOUR-API-KEY",
logging: {
consoleErrors: boolean,
windowErrors: boolean,
httpErrors: boolean | { errorCodes: number[] },
uncaughtErrors: boolean,
userActions: boolean,
};
});š Privacy & Security
Erralyze does not collect sensitive user data. Logged errors contain only technical debugging information. For more details, check our privacy policy.
š Roadmap & Availability
- 2025 (Q1, Q2) Closed Beta (Whitelist Users Only)
- 2025 (Q3) Planned Public Release
ā Support
For questions about the Closed Beta or to request whitelist access, contact us at support@erralyze.com.