node:process

#Import

import process from "nstdlib/process";

Note

Only the API surface is available. Constants baked in at build time.

#Runtime support

Where it runsStatusExport coverageDetails
nstd✅ worksNative tests match Node.js: options, process.
Browser⚠️ some support14% of Node.jsIt imports with the small process shim. 12/84 Node.js exports are available. No module-specific behavior test ran.
Node.js (host)⚠️ some support100% of Node.js86/86 exports.

#Exports (86 of 86)

Each cell shows what happens when code reads an export:

  • ✅ Available through every import style. A named error also counts.
  • ⚠️ Available through only some import styles.
  • ❔ The export exists but has no value.
  • ❌ The export does not exist.
  • – This environment was not measured.
Show all 86 exports
ExportNode.jsnstdlibbrowser
_debugEnd
_debugProcess
_eval
_events
_eventsCount
_exiting
_fatalException
_getActiveHandles
_getActiveRequests
_kill
_linkedBinding
_maxListeners
_preload_modules
_rawDebug
_startProfilerIdleNotifier
_stopProfilerIdleNotifier
_tickCallback
abort
addUncaughtExceptionCaptureCallback
allowedNodeEnvironmentFlags
arch
argv
argv0
availableMemory
binding
chdir
config
constrainedMemory
cpuUsage
cwd
debugPort
dlopen
domain
emitWarning
env
execArgv
execPath
execve
exit
exitCode
features
finalization
getActiveResourcesInfo
getBuiltinModule
getegid
geteuid
getgid
getgroups
getuid
hasUncaughtExceptionCaptureCallback
hrtime
initgroups
kill
loadEnvFile
memoryUsage
moduleLoadList
nextTick
noDeprecation
noProcessWarnings
openStdin
pid
platform
ppid
reallyExit
ref
release
report
resourceUsage
setSourceMapsEnabled
setUncaughtExceptionCaptureCallback
setegid
seteuid
setgid
setgroups
setuid
sourceMapsEnabled
stderr
stdin
stdout
threadCpuUsage
title
umask
unref
uptime
version
versions