// node:os shim for CF Workers
export function homedir() { return '/tmp'; }
export function hostname() { return 'cf-worker'; }
export function platform() { return 'linux'; }
export function arch() { return 'x64'; }
export function tmpdir() { return '/tmp'; }
export function type() { return 'Linux'; }
export function release() { return '0.0.0'; }
export function cpus() { return []; }
export function totalmem() { return 0; }
export function freemem() { return 0; }
export function networkInterfaces() { return {}; }
export const EOL = '\n';
export default { homedir, hostname, platform, arch, tmpdir, type, release, cpus, totalmem, freemem, networkInterfaces, EOL };
