2.0.10 • Published 7 months ago

electron-qualityrtc-package v2.0.10

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

electron-qualityrtc-package

electron-qualityrtc-package is an efficient Node.js package that not only simplifies traceroute command execution within your applications but also seamlessly integrates hardware testing and data retrieval. With this versatile package, you gain access to comprehensive insights into both network diagnostics and hardware status, making it an invaluable tool for enhancing your application's capabilities.

With electron-qualityrtc-package, you can retrieve detailed information about each hop in the traceroute journey, including host data and round-trip times in traceroute test.
electron-qualityrtc-package seamlessly integrates hardware testing and data retrieval, you can retrieve detailed information about CPU Information, Ram Information, Memory Information and Storage Information etc.

Installation

npm install < dir_name >

Usage

To integrate Electron-Qualityrtc-Package into your Electron application, follow these steps:

Import the Package

First, import the necessary components from the package into your Electron application:

const {
  preloadPath,
  setupQualityRTCListener,
} = require("electron-qualityrtc-package");

Adding Path

In your Electron application when window is ready add preload path as preloadPath in webPreferences. For example:

const { app, BrowserWindow } = require("electron");

app.on("ready", () => {
  // Create the main Electron window
  const mainWindow = new BrowserWindow({
    webPreferences: {
      preload: preloadPath,
    },
  });
  // Other window configuration settings can be added here
});

Integrate Tests

To integarte the test HardwareAvailability and Traceroute add setupQualityRTCListener() function after APP is ready. For Example:

app.on("ready", () => {
  // Create the main Electron window
  const mainWindow = new BrowserWindow({
    webPreferences: {
      preload: preloadPath,
    },
  });
  mainWindow.loadURL(URL);
  setupQualityRTCListener();
});
2.0.10

7 months ago

2.0.8

7 months ago