
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign hits npm.
@danyalwe/capacitor-systeminfo
Advanced tools
Get access to every info about the device software and hardware!
Get access to every info about the device software and hardware!
Supported Android version: 23+
Supported iOS version: Not supported
Supported Browsers: Chromium-based
npm install @danyalwe/capacitor-systeminfo
npx cap sync
The following example demonstrates how to use the SystemInfo plugin to access the device's info:
import { SystemInfo } from '@danyalwe/capacitor-systeminfo'
// Get all system informations
const info = await SystemInfo.getInfos()
// Add a listener to receive used ram, hdd and sd every second
SystemInfo.addListener('runtimeChange', (data) => {
console.log('Runtime data:', data)
})
// Be sure to start ALWAYS AFTER adding the listener
await SystemInfo.start()
// Stop the listener
await SystemInfo.stop()
| Name | Android | iOS | Web |
|---|---|---|---|
| getInfos | β | β | β |
| start | β | β | β |
| stop | β | β | β |
| addListener | β | β | β |
| removeAllListeners | β | β | β |
| SoftwareInfos | Android | iOS | Web |
|---|---|---|---|
osName | β | β | β |
osVersion | β | β | β |
brandName | β | β | β |
sdkVersion | β | β | β |
sdkName | β | β | β |
securityPatch | β | β | β |
uiVersion | β | β | β |
deviceID | β | β | β |
boardName | β | β | β |
bootloaderVersion | β | β | β |
supportedABIs | β | β | β |
| HardwareInfos | Android | iOS | Web |
|---|---|---|---|
manufacturer | β | β | β |
features | β | β | β |
totalCores | β | β | β |
totalRAM | β | β | β |
totalHDD | β | β | β οΈ |
totalSD | β | β | β |
modelID | β | β | β |
modelCodeName | β | β | β |
cpuModel | β | β | β |
cpuCores | β | β | β |
β οΈ: Not real total, it's the available
| RuntimeInfos | Android | iOS | Web |
|---|---|---|---|
usedRAM | β | β | β |
usedHDD | β | β | β |
usedSD | β | β | β |
Interface for the System Info plugin
Represents software information about a device.
| Prop | Type | Description |
|---|---|---|
osName | string | The name of the operating system. |
osVersion | string | The version of the operating system. |
brandName | string | The name of the device brand. |
sdkVersion | number | The version of the SDK. |
sdkName | string | The name of the SDK. |
securityPatch | string | The security patch level. |
uiVersion | string | The version of the UI. |
deviceID | string | The unique identifier of the device. |
boardName | string | The name of the device board. |
bootloaderVersion | string | The version of the bootloader. |
supportedABIs | {} | The list of supported ABIs. |
locales | {} | The list of locales used by the device |
timezone | string | The timezone of the device |
Represents hardware information of a device.
| Prop | Type | Description |
|---|---|---|
modelID | string | The model ID of the device. |
modelCodeName | string | The code name of the device model. |
cpuModel | string | The model of the CPU. |
cpuCores | { maxFreq: {}; minFreq: {}; } | The number of cores and threads of the CPU. |
totalSD | number | The total size of the SD card in bytes. |
totalHDD | number | The total size of the HDD in bytes. |
totalRAM | number | The total size of the RAM in bytes. |
totalCores | number | The total number of cores in the CPU. |
manufacturer | string | The manufacturer of the device. |
features | {} | The features supported by the device. |
Interface for runtime information.
| Prop | Type | Description |
|---|---|---|
usedRAM | number | The amount of used RAM in bytes. |
usedHDD | number | The amount of used HDD in bytes. |
usedSD | number | The amount of used SD card storage in bytes. |
| Prop | Type |
|---|---|
remove | () => any |
Represents a collection of system information, including both software and hardware information.
Represents the available features that can be queried using the Capacitor System Info plugin.
'bluetooth' | 'bluetoothLowEnergy' | 'microphone' | 'speaker' | 'nfc' | 'camera' | 'gamepad' | 'gps' | 'touchscreen' | 'wifi' | 'fingerprint' | 'face' | 'ethernet'
1.0.0
FAQs
Get access to every info about the device software and hardware!
The npm package @danyalwe/capacitor-systeminfo receives a total of 1 weekly downloads. As such, @danyalwe/capacitor-systeminfo popularity was classified as not popular.
We found that @danyalwe/capacitor-systeminfo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Another wave of Shai-Hulud campaign hits npm.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.