JSPM

@erralyze/analytics

0.1.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q42923F
  • License LGPL-3.0-or-later

Erralyze Analytics Beta

Package Exports

  • @erralyze/analytics
  • @erralyze/analytics/dist/index.esm.js
  • @erralyze/analytics/dist/index.iife.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@erralyze/analytics) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.