Skip to content

Instantly share code, notes, and snippets.

@Gaurav8757
Last active August 5, 2026 07:13
Show Gist options
  • Select an option

  • Save Gaurav8757/c829e8d68f5da5c856d66e7fa8f0ce0c to your computer and use it in GitHub Desktop.

Select an option

Save Gaurav8757/c829e8d68f5da5c856d66e7fa8f0ce0c to your computer and use it in GitHub Desktop.
Node.js
// Node.js
// >> PS F:\backend> node
// Welcome to Node.js v24.18.0.
// Type ".help" for more information.
> global
<ref *1> Object [global] {
global: [Circular *1],
clearImmediate: [Function: clearImmediate],
setImmediate: [Function: setImmediate] {
Symbol(nodejs.util.promisify.custom): [Getter]
},
clearInterval: [Function: clearInterval],
clearTimeout: [Function: clearTimeout],
setInterval: [Function: setInterval],
setTimeout: [Function: setTimeout] {
Symbol(nodejs.util.promisify.custom): [Getter]
},
queueMicrotask: [Function: queueMicrotask],
structuredClone: [Function: structuredClone],
atob: [Function: atob],
btoa: [Function: btoa],
performance: [Getter/Setter],
fetch: [Function: fetch],
crypto: [Getter],
navigator: [Getter]
}
// process
> process
process {
version: 'v24.18.0',
versions: {
node: '24.18.0',
acorn: '8.16.0',
ada: '3.4.4',
amaro: '1.1.9',
ares: '1.34.6',
brotli: '1.2.0',
cldr: '48.0',
icu: '78.3',
llhttp: '9.4.2',
merve: '1.2.2',
modules: '137',
napi: '10',
nbytes: '0.1.4',
ncrypto: '0.0.1',
nghttp2: '1.69.0',
nghttp3: '',
ngtcp2: '',
openssl: '3.5.7',
simdjson: '4.6.4',
simdutf: '6.4.0',
sqlite: '3.53.1',
tz: '2026b',
undici: '7.28.0',
unicode: '17.0',
uv: '1.52.1',
uvwasi: '0.0.23',
v8: '13.6.233.17-node.50',
zlib: '1.3.1-e00f703',
zstd: '1.5.7'
},
arch: 'x64',
platform: 'win32',
release: {
name: 'node',
lts: 'Krypton',
sourceUrl: 'https://nodejs.org/download/release/v24.18.0/node-v24.18.0.tar.gz',
headersUrl: 'https://nodejs.org/download/release/v24.18.0/node-v24.18.0-headers.tar.gz',
libUrl: 'https://nodejs.org/download/release/v24.18.0/win-x64/node.lib'
},
_rawDebug: [Function: _rawDebug],
moduleLoadList: [
'Internal Binding builtins',
'Internal Binding module_wrap',
'Internal Binding errors',
'NativeModule internal/assert',
'Internal Binding util',
'NativeModule internal/errors',
'Internal Binding config',
'Internal Binding timers',
'Internal Binding async_wrap',
'Internal Binding task_queue',
'Internal Binding symbols',
'NativeModule internal/async_hooks',
'Internal Binding constants',
'Internal Binding types',
'Internal Binding options',
'NativeModule internal/options',
'Internal Binding string_decoder',
'NativeModule internal/util',
'NativeModule internal/util/types',
'NativeModule internal/validators',
'NativeModule internal/linkedlist',
'NativeModule internal/priority_queue',
'Internal Binding icu',
'NativeModule internal/util/inspect',
'NativeModule internal/constants',
'Internal Binding trace_events',
'NativeModule internal/util/debuglog',
'Internal Binding async_context_frame',
'NativeModule internal/async_context_frame',
'NativeModule internal/timers',
'NativeModule internal/events/abort_listener',
'NativeModule events',
'Internal Binding buffer',
'NativeModule util/types',
'NativeModule internal/buffer',
'Internal Binding mksnapshot',
'NativeModule internal/v8/startup_snapshot',
'NativeModule buffer',
'NativeModule internal/webidl',
'Internal Binding messaging',
'NativeModule internal/worker/js_transferable',
'Internal Binding diagnostics_channel',
'NativeModule diagnostics_channel',
'Internal Binding process_methods',
'NativeModule internal/process/per_thread',
'Internal Binding credentials',
'NativeModule internal/fixed_queue',
'NativeModule internal/process/promises',
'NativeModule async_hooks',
'NativeModule internal/process/task_queues',
'NativeModule timers',
'NativeModule path',
'Internal Binding url_pattern',
'NativeModule internal/querystring',
'NativeModule internal/mime',
'NativeModule internal/data_url',
'NativeModule querystring',
'Internal Binding url',
'NativeModule internal/url',
'Internal Binding modules',
'NativeModule internal/modules/typescript',
'Internal Binding contextify',
'NativeModule internal/vm',
'NativeModule internal/process/execution',
'NativeModule internal/process/warning',
'Internal Binding fs',
'Internal Binding blob',
'NativeModule internal/encoding/single-byte',
'NativeModule internal/encoding/util',
'Internal Binding encoding_binding',
'NativeModule internal/encoding',
'NativeModule internal/blob',
'NativeModule internal/fs/utils',
'Internal Binding permission',
'NativeModule internal/process/permission',
'NativeModule fs',
'NativeModule internal/source_map/source_map_cache',
'NativeModule internal/modules/helpers',
'NativeModule internal/console/constructor',
'NativeModule internal/console/global',
'NativeModule internal/util/inspector',
'Internal Binding inspector',
'NativeModule internal/streams/utils',
'NativeModule util',
'Internal Binding performance',
'NativeModule internal/perf/utils',
'NativeModule internal/event_target',
'Internal Binding wasm_web_api',
'NativeModule internal/process/signal',
'NativeModule url',
'NativeModule internal/modules/customization_hooks',
'NativeModule internal/modules/package_json_reader',
'NativeModule internal/modules/cjs/loader',
'NativeModule internal/modules/esm/assert',
'NativeModule internal/modules/esm/module_map',
'NativeModule internal/modules/esm/module_job',
'NativeModule internal/modules/esm/utils',
'NativeModule internal/modules/esm/get_format',
'NativeModule internal/modules/esm/load',
'Internal Binding cjs_lexer',
... 81 more items
],
binding: [Function: binding],
_linkedBinding: [Function: _linkedBinding],
_events: [Object: null prototype] {
newListener: [
[Function (anonymous)],
[Function: startListeningIfSignal],
[Function (anonymous)],
Symbol(events.emitting): 0
],
removeListener: [
[Function (anonymous)],
[Function: stopListeningIfSignal],
[Function (anonymous)],
Symbol(events.emitting): 0
],
warning: [Function: onWarning],
SIGWINCH: [
[Function: refreshStdoutOnSigWinch],
[Function: refreshStderrOnSigWinch],
Symbol(events.emitting): 0
]
},
_eventsCount: 4,
_maxListeners: undefined,
domain: [Getter/Setter],
_exiting: [Getter/Setter],
exitCode: [Getter/Setter],
config: {
variables: {
use_ccache_win: 0,
clang: 1,
llvm_version: '19.1.5',
nasm_version: '3.01',
node_enable_experimentals: false,
node_prefix: '\\usr\\local',
node_install_npm: true,
node_install_corepack: true,
control_flow_guard: false,
node_use_amaro: true,
debug_node: false,
debug_symbols: false,
error_on_warn: false,
suppress_all_error_on_warn: false,
use_prefix_to_find_headers: false,
host_arch: 'x64',
target_arch: 'x64',
node_byteorder: 'little',
want_separate_host_toolset: 0,
node_use_node_snapshot: true,
node_use_node_code_cache: true,
node_write_snapshot_as_array_literals: true,
node_enable_v8_vtunejit: false,
enable_pgo_generate: false,
enable_pgo_use: false,
enable_lto: false,
enable_thin_lto: false,
single_executable_application: true,
node_with_ltcg: true,
node_tag: '',
node_release_urlbase: 'https://nodejs.org/download/release/',
node_debug_lib: false,
debug_nghttp2: false,
node_no_browser_globals: false,
node_shared: false,
libdir: 'lib',
node_module_version: 137,
shlib_suffix: 'so.137',
asan: 0,
ubsan: 0,
coverage: false,
node_target_type: 'executable',
node_library_files: [Array],
node_cctest_sources: [Array],
napi_build_version: '10',
node_shared_zlib: false,
node_shared_http_parser: false,
node_shared_libuv: false,
node_shared_ada: false,
node_shared_simdjson: false,
node_shared_simdutf: false,
node_shared_brotli: false,
node_shared_cares: false,
node_shared_gtest: false,
node_shared_hdr_histogram: false,
node_shared_merve: false,
node_shared_nbytes: false,
node_shared_nghttp2: false,
node_shared_nghttp3: false,
node_shared_ngtcp2: false,
node_use_sqlite: true,
node_shared_sqlite: false,
node_shared_uvwasi: false,
node_shared_zstd: false,
v8_enable_webassembly: 1,
v8_enable_javascript_promise_hooks: 1,
v8_enable_lite_mode: 0,
v8_enable_gdbjit: 0,
v8_optimized_debug: 1,
dcheck_always_on: 0,
v8_enable_object_print: 1,
v8_random_seed: 0,
v8_promise_internal_field_count: 1,
v8_use_siphash: 1,
v8_enable_maglev: 1,
v8_enable_pointer_compression: 0,
v8_enable_sandbox: 0,
v8_enable_pointer_compression_shared_cage: 0,
v8_enable_external_code_space: 0,
v8_enable_31bit_smis_on_64bit_arch: 0,
v8_enable_extensible_ro_snapshot: 0,
v8_trace_maps: 0,
node_use_v8_platform: true,
node_use_bundled_v8: true,
force_dynamic_crt: 0,
node_enable_d8: false,
node_enable_v8windbg: false,
v8_enable_hugepage: 0,
v8_enable_short_builtin_calls: 1,
v8_enable_wasm_simd256_revec: 1,
node_use_openssl: true,
node_shared_openssl: false,
openssl_is_fips: false,
node_fipsinstall: false,
node_without_node_options: false,
node_use_quic: false,
icu_small: false,
v8_enable_i18n_support: 1,
icu_gyp_path: 'tools/icu/icu-generic.gyp',
icu_path: 'deps/icu-small',
icu_ver_major: '78',
icu_endianness: 'l',
icu_data_in: '..\\..\\deps\\icu-tmp\\icudt78l.dat',
v8_enable_inspector: 1,
node_builtin_shareable_builtins: [Array],
ossfuzz: false
},
target_defaults: {
include_dirs: [],
libraries: [],
defines: [Array],
cflags: [],
default_configuration: 'Release',
configurations: [Object]
}
},
dlopen: [Function: dlopen],
uptime: [Function: uptime],
_getActiveRequests: [Function: _getActiveRequests],
_getActiveHandles: [Function: _getActiveHandles],
getActiveResourcesInfo: [Function: getActiveResourcesInfo],
reallyExit: [Function: reallyExit],
_kill: [Function: _kill],
loadEnvFile: [Function: loadEnvFile],
cpuUsage: [Function: cpuUsage],
threadCpuUsage: [Function: threadCpuUsage],
resourceUsage: [Function: resourceUsage],
memoryUsage: [Function: memoryUsage] { rss: [Function: rss] },
constrainedMemory: [Function: constrainedMemory],
availableMemory: [Function: availableMemory],
kill: [Function: kill],
exit: [Function: exit],
execve: [Function: execve],
ref: [Function: ref],
unref: [Function: unref],
finalization: [Getter/Setter],
hrtime: [Function: hrtime] { bigint: [Function: hrtimeBigInt] },
openStdin: [Function (anonymous)],
allowedNodeEnvironmentFlags: [Getter/Setter],
features: {
inspector: true,
debug: false,
uv: true,
ipv6: true,
tls_alpn: true,
tls_sni: true,
tls_ocsp: true,
tls: true,
openssl_is_boringssl: false,
cached_builtins: [Getter],
require_module: [Getter],
quic: [Getter],
typescript: [Getter]
},
_fatalException: [Function (anonymous)],
setUncaughtExceptionCaptureCallback: [Function (anonymous)],
hasUncaughtExceptionCaptureCallback: [Function: hasUncaughtExceptionCaptureCallback],
emitWarning: [Function: emitWarning],
nextTick: [Function: nextTick],
_tickCallback: [Function: runNextTicks],
sourceMapsEnabled: [Getter],
setSourceMapsEnabled: [Function: setSourceMapsEnabled],
getBuiltinModule: [Function: getBuiltinModule],
_debugProcess: [Function: _debugProcess],
_debugEnd: [Function: _debugEnd],
_startProfilerIdleNotifier: [Function (anonymous)],
_stopProfilerIdleNotifier: [Function (anonymous)],
stdout: [Getter],
stdin: [Getter],
stderr: [Getter],
abort: [Function: abort],
umask: [Function: wrappedUmask],
chdir: [Function (anonymous)],
cwd: [Function: wrappedCwd],
env: {
ALLUSERSPROFILE: 'C:\\ProgramData',
ANDROID_HOME: 'C:\\Users\\com\\AppData\\Local\\Android\\Sdk',
APPDATA: 'C:\\Users\\com\\AppData\\Roaming',
CHROME_CRASHPAD_PIPE_NAME: '\\\\.\\pipe\\crashpad_1368_RWVVIWPIKNMFBWIM',
CommonProgramFiles: 'C:\\Program Files\\Common Files',
'CommonProgramFiles(x86)': 'C:\\Program Files (x86)\\Common Files',
CommonProgramW6432: 'C:\\Program Files\\Common Files',
COMPUTERNAME: 'DESKTOP-NCAK0BB',
ComSpec: 'C:\\WINDOWS\\system32\\cmd.exe',
DriverData: 'C:\\Windows\\System32\\Drivers\\DriverData',
FPS_BROWSER_APP_PROFILE_STRING: 'Internet Explorer',
FPS_BROWSER_USER_PROFILE_STRING: 'Default',
HOMEDRIVE: 'C:',
HOMEPATH: '\\Users\\com',
LOCALAPPDATA: 'C:\\Users\\com\\AppData\\Local',
LOGONSERVER: '\\\\DESKTOP-NCAK0BB',
NUMBER_OF_PROCESSORS: '4',
NVM_HOME: 'C:\\Users\\com\\AppData\\Local\\nvm',
NVM_SYMLINK: 'C:\\nvm4w\\nodejs',
OneDrive: 'C:\\Users\\com\\OneDrive',
OneDriveConsumer: 'C:\\Users\\com\\OneDrive',
OS: 'Windows_NT',
Path: 'C:\\Program Files\\Common Files\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;node_modules\\npm\\bin;C:\\Program Files\\Git\\cmd;C:\\Users\\com\\AppData\\Local\\Android\\Sdk\\platform-tools;C:\\xampp\\php\\php.exe;C:\\Users\\Default\\nvm;C:\\nodejs;node_modules\\npm\\bin;c:\\Users\\gaura\\AppData\\Local\\Programs\\cursor\\resources\\app\\bin;C:\\Program Files\\nodejs\\;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\Users\\com\\AppData\\Local\\Programs\\Python\\Launcher\\;C:\\Program Files\\MySQL\\MySQL Shell 8.0\\bin\\;C:\\Users\\com\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\com\\AppData\\Local\\nvm;C:\\nvm4w\\nodejs;C:\\Users\\com\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\xampp\\php;C:\\Users\\com\\composer;C:\\Users\\com\\AppData\\Roaming\\Composer\\vendor\\bin;C:\\Users\\com\\AppData\\Local\\Programs\\Antigravity\\bin;C:\\Users\\com\\AppData\\Local\\Programs\\Antigravity IDE\\bin;C:\\Users\\com\\AppData\\Roaming\\npm;C:\\Users\\com\\AppData\\Local\\Programs\\cursor\\resources\\app\\bin',
PATHEXT: '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL',
PROCESSOR_ARCHITECTURE: 'AMD64',
PROCESSOR_IDENTIFIER: 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',
PROCESSOR_LEVEL: '6',
PROCESSOR_REVISION: '3a09',
ProgramData: 'C:\\ProgramData',
ProgramFiles: 'C:\\Program Files',
'ProgramFiles(x86)': 'C:\\Program Files (x86)',
ProgramW6432: 'C:\\Program Files',
PSModulePath: 'C:\\Users\\com\\OneDrive\\Documents\\WindowsPowerShell\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules',
PUBLIC: 'C:\\Users\\Public',
SESSIONNAME: 'Console',
SystemDrive: 'C:',
SystemRoot: 'C:\\WINDOWS',
TEMP: 'C:\\Users\\com\\AppData\\Local\\Temp',
TMP: 'C:\\Users\\com\\AppData\\Local\\Temp',
USERDOMAIN: 'DESKTOP-NCAK0BB',
USERDOMAIN_ROAMINGPROFILE: 'DESKTOP-NCAK0BB',
USERNAME: 'com',
USERPROFILE: 'C:\\Users\\com',
VSCODE_PYTHON_AUTOACTIVATE_GUARD: '1',
windir: 'C:\\WINDOWS',
TERM_PROGRAM: 'vscode',
TERM_PROGRAM_VERSION: '1.107.0',
LANG: 'en_US.UTF-8',
COLORTERM: 'truecolor',
ANTIGRAVITY_CLI_ALIAS: 'agy-ide',
GIT_ASKPASS: 'c:\\Users\\com\\AppData\\Local\\Programs\\Antigravity IDE\\resources\\app\\extensions\\git\\dist\\askpass.sh',
VSCODE_GIT_ASKPASS_NODE: 'C:\\Users\\com\\AppData\\Local\\Programs\\Antigravity IDE\\Antigravity IDE.exe',
VSCODE_GIT_ASKPASS_EXTRA_ARGS: '',
VSCODE_GIT_ASKPASS_MAIN: 'c:\\Users\\com\\AppData\\Local\\Programs\\Antigravity IDE\\resources\\app\\extensions\\git\\dist\\askpass-main.js',
VSCODE_GIT_IPC_HANDLE: '\\\\.\\pipe\\vscode-git-9cf4cb47b2-sock',
VSCODE_INJECTION: '1'
},
title: 'C:\\Program Files\\nodejs\\node.exe',
argv: [ 'C:\\Program Files\\nodejs\\node.exe' ],
execArgv: [],
pid: 8456,
ppid: 5648,
execPath: 'C:\\Program Files\\nodejs\\node.exe',
debugPort: 9229,
argv0: 'C:\\Program Files\\nodejs\\node.exe',
_preload_modules: [],
report: [Getter],
Symbol(shapeMode): false,
Symbol(kCapture): false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment