0.1.3 • Published 7 months ago

@erralyze/analytics v0.1.3

Weekly downloads
-
License
LGPL-3.0-or-later
Repository
github
Last release
7 months ago

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.

0.1.3

7 months ago

0.1.1

8 months ago

0.1.0

8 months ago