const requireNodeModule = (moduleName) => {
    if (typeof window !== 'undefined' && typeof window.require === 'function') {
        return (window.require)(moduleName);
    }
    throw new Error(`Node.js module "${moduleName}" is not available. Ensure nodeIntegration is enabled.`);
};
const mod = requireNodeModule('node:os');
export default mod;
export const arch = mod.arch;
export const cpus = mod.cpus;
export const endianness = mod.endianness;
export const freemem = mod.freemem;
export const homedir = mod.homedir;
export const hostname = mod.hostname;
export const loadavg = mod.loadavg;
export const networkInterfaces = mod.networkInterfaces;
export const platform = mod.platform;
export const release = mod.release;
export const tmpdir = mod.tmpdir;
export const totalmem = mod.totalmem;
export const type = mod.type;
export const uptime = mod.uptime;
