Server-Only APIs

Server time vs client time

Server time (UTC): 9:51:51 AM

Browser time: (waiting for the browser...)

The os module

{
  "hostname": "169.254.65.187",
  "platform": "linux",
  "uptimeMinutes": 0,
  "cpuCount": 2,
  "freeMemoryMB": 2029
}

process.env

On the server: hello from the server (fallback)

In the browser: undefined

headers()

User agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)

Your IP as the server sees it: 216.73.217.174

Weather in Boston (Open-Meteo)

  • Temperature: 61.4 °F
  • Wind: 5 mph
  • Measured at (UTC): 2026-11-07T08:45

Visit counter

This page has been rendered 1 times.

Counter file: /tmp/lab3-visits.txt

child_process

Output of node --version: v26.13.0