Packages

  • components
  • core
  • hooks
  • notify
  • server

@enotion/server

Server-side utilities and middleware for enotion

These utilities are designed for server-side use only and should not be imported into client-side code to avoid bundling unnecessary dependencies.

Installation

npm install @enotion/server

Modules

cpuTemperature

Utility function to return the current CPU temperature

cpuUsage

Utility function to return the current CPU usage array

diskUsage

Utility function to retrieve disk usage information for a given path

findOpenPort

Utility to find an open network port

getHostname

Utility to retrieve the system hostname

getLocalIps

Utility to retrieve local IP addresses

getSystemSnapshot

Utility function to retrieve a snapshot of the current system information

isPortOpen

Utility to check if a network port is open

memoryUsage

Utility function to retrieve memory usage information

os

Utility function to retrieve operating system information

parseCpuTemperature

Utility function to parse CPU temperature data into a string

parseCpuUsage

Utility function to parse CPU usage data into a percentage string

performance

Utility function to retrieve system performance metrics

uptime

Utility function to retrieve system uptime information