@teme-framework/plugin-crash-reporting
v0.1.0
Published
Sanitized, caller-routed error reporting for TEME applications
Maintainers
Readme
@teme-framework/plugin-crash-reporting
Builds minimal error reports and sends them only to an explicitly supplied reporter.
Install
npm install @teme-framework/plugin-crash-reportingUse
import { createCrashReporter } from "@teme-framework/plugin-crash-reporting";
const crashes = createCrashReporter({ reporter: report => monitoringService.send(report) });
await crashes.capture(error, { screen: "checkout", token: userToken });Platform support and limitations
Works in web, Android WebView, and Electron JavaScript contexts; no report is transmitted or persisted by this package. The caller must provide a reporter. Common sensitive context keys (including credentials and contact information) are redacted before dispatch by default. Error messages and stack traces can themselves contain personal or secret data; review/redact them in the caller's reporter before external storage. No global error handlers are installed.
Node.js and terminal support
This package has no architecture-specific native binary and can be imported with Node.js 22.5 or newer on Linux, macOS, Windows, and Termux. APIs that access browser or device capabilities require the matching runtime API or a caller-supplied adapter; a terminal alone cannot grant hardware access. See the platform limitations above and handle runtime errors documented by the package API.
Keywords
TEME, crash reporting, error reporting, observability, redaction, privacy, Android WebView, Electron
