NODE22(1)
๐ฆ node22(1) ๐ฆ
okay so this is the manual page for node22 โ server-side JavaScript runtime โ and bestie, it is long, so buckle up ๐ซถ
๐ NAME ๐
node22 โ server-side JavaScript runtime. that's the whole vibe. it runs JavaScript, but not in a browser, and it does it iconically ๐
โจ SYNOPSIS โจ
like, here's how you actually invoke it:
node22 [options] [v8-options] [-e string | script.js | -] [--]
[arguments ...]
node22 inspect [-e string | script.js | - | <host>:<port>] ...
node22 [--v8-options]
three moods. pick your fighter ๐
๐ DESCRIPTION ๐
so Node.js is a set of libraries for JavaScript which allows it to be used outside of the browser. no window object, no problem. it's primarily focused on creating simple, easy-to-build network clients and servers โ like that's literally its whole thing ๐ง
and listen โ execute node22 without any arguments and it just starts a REPL. yes, an interactive one. it's giving "just you and the prompt, bestie" โจ
๐ OPTIONS ๐
okay this is the big one. every single flag, no skipping, no cap ๐ฅ
-โ alias for stdin, analogous to the use of-in other command-line utilities. the executed script is read from stdin, and the remaining arguments are passed to the script.--โ indicates the end of command-line options. everything after it gets passed to the script.
and if no script filename or eval/print script was supplied before this, then the next argument will be used as a script filename. iykyk ๐
--abort-on-uncaught-exceptionโ aborting instead of exiting causes a core file to be generated for analysis. dramatic? yes. useful? also yes ๐ฉบ--allow-fs-readโ allow file system read access when using the permission model.--allow-fs-writeโ allow file system write access when using the permission model.--allow-addonsโ allow using native addons when using the permission model.--allow-child-processโ allow spawning process when using the permission model.--allow-wasiโ allow execution of WASI when using the permission model.--allow-workerโ allow creating worker threads when using the permission model.--completion-bashโ print a source-able bash completion script for Node.js. tab-complete slay ๐-C,--conditions stringโ use custom conditional exports conditions. string.--cpu-profโ start the V8 CPU profiler on start up, and write the CPU profile to disk before exit. if--cpu-prof-diris not specified, the profile will be written to the current working directory with a generated file name ๐--cpu-prof-dirโ the directory where the CPU profiles generated by--cpu-profwill be placed. the default value is controlled by the--diagnostic-dircommand-line option.--cpu-prof-intervalโ the sampling interval in microseconds for the CPU profiles generated by--cpu-prof. the default is1000.--cpu-prof-nameโ file name of the V8 CPU profile generated with--cpu-prof.--diagnostic-dirโ set the directory for all diagnostic output files. default is current working directory. set the directory to which all diagnostic output files will be written to. defaults to current working directory. affects the default output directory of:--cpu-prof-dir,--heap-prof-dir,--redirect-warnings. one folder to rule them all ๐๏ธ--disable-proto=modeโ disable theObject.prototype.__proto__property. if mode isdelete, the property will be removed entirely. if mode isthrow, accesses to the property will throw an exception with the codeERR_PROTO_ACCESS. choose your chaos ๐--disable-wasm-trap-handler=modeโ disable trap-handler-based WebAssembly bound checks and fall back to inline bound checks so that WebAssembly can be run with limited virtual memory.--disallow-code-generation-from-stringsโ make built-in language features likeevalandnew Functionthat generate code from strings throw an exception instead. this does not affect the Node.jsvmmodule. (read that again, bestie โvmis exempt ๐)--enable-fipsโ enable FIPS-compliant crypto at startup. requires Node.js to be built with./configure --openssl-fips. no build flag, no FIPS, that's the rule ๐--enable-source-mapsโ enable Source Map V3 support for stack traces. your stack traces, but make them make sense โจ--entry-urlโ interpret the entry point as a URL.--experimental-addon-modulesโ enable experimental addon module support.--experimental-default-type=typeโ interpret as either ES modules or CommonJS modules input via--evalor STDIN, when--input-typeis unspecified;--experimental-config-fileโ specifies the configuration file to load.--experimental-default-config-fileโ enable support for automatically loadingnode.config.json.--experimental-import-meta-resolveโ enable experimental ES modules support forimport.meta.resolve().--experimental-loader=moduleโ specify the module to use as a custom module loader.--permissionโ enable the permission model. (yes it lives down here alphabetically, don't @ me)--experimental-shadow-realmโ use this flag to enable ShadowRealm support.--experimental-test-coverageโ enable code coverage in the test runner.--experimental-test-isolation=modeโ configures the type of test isolation used in the test runner.--experimental-test-module-mocksโ enable module mocking in the test runner.--experimental-transform-typesโ enable transformation of TypeScript-only syntax into JavaScript code.--experimental-eventsourceโ enable experimental support for theEventSourceWeb API.--no-experimental-fetchโ disable experimental support for the Fetch API.--no-experimental-websocketโ disable experimental support for the WebSocket API.--experimental-webstorageโ enable experimental support for the Web Storage API.--no-experimental-global-customeventโ disable exposition of theCustomEventon the global scope.--no-experimental-global-webcryptoโ disable exposition of the Web Crypto API on the global scope.--no-experimental-repl-awaitโ disable top-level await keyword support in REPL.--no-experimental-sqliteโ disable the experimentalnode:sqlitemodule.--no-experimental-strip-typesโ disable experimental type-stripping for TypeScript files.--experimental-vm-modulesโ enable experimental ES module support in VM module.--experimental-wasi-unstable-preview1โ enable experimental WebAssembly System Interface support. this flag is no longer required as WASI is enabled by default ๐ฆ--experimental-inspector-network-resourceโ enable experimental support for inspector network resources.--force-context-awareโ disable loading native addons that are not context-aware.--force-fipsโ force FIPS-compliant crypto on startup (cannot be disabled from script code). same requirements as--enable-fips. once it's on, it's on ๐--frozen-intrinsicsโ enable experimental frozen intrinsics support.--heapsnapshot-near-heap-limit=max_countโ generate heap snapshot when the V8 heap usage is approaching the heap limit. no more than the specified number of snapshots will be generated.--heapsnapshot-signal=signalโ generate heap snapshot on specified signal.--heap-profโ start the V8 heap profiler on start up, and write the heap profile to disk before exit. if--heap-prof-diris not specified, the profile will be written to the current working directory with a generated file name ๐ง--heap-prof-dirโ the directory where the heap profiles generated by--heap-profwill be placed. the default value is controlled by the--diagnostic-dircommand-line option.--heap-prof-intervalโ the average sampling interval in bytes for the heap profiles generated by--heap-prof. the default is512 * 1024.--heap-prof-nameโ file name of the V8 heap profile generated with--heap-prof.--icu-data-dir=fileโ specify ICU data load path. overridesNODE_ICU_DATA.--input-type=typeโ set the module resolution type for input via--eval,--printor STDIN.--inspect-brk=[host:]portโ activate inspector onhost:portand break at start of user script. breakpoint immediately, main character energy ๐ฌ--inspect-port=[host:]portโ set thehost:portto be used when the inspector is activated.--inspect-publish-uid=stderr,httpโ specify how the inspector WebSocket URL is exposed. valid values arestderrandhttp. default isstderr,http.--inspect-wait=[host:]portโ activate inspector onhost:portand wait for debugger to be attached.--inspect=[host:]portโ activate inspector onhost:port. default is127.0.0.1:9229.
V8 Inspector integration allows attaching Chrome DevTools and IDEs to Node.js instances for debugging and profiling. it uses the Chrome DevTools Protocol. literally the dream collab ๐ค
--insecure-http-parserโ use an insecure HTTP parser that accepts invalid HTTP headers. this may allow interoperability with non-conformant HTTP implementations. it may also allow request smuggling and other HTTP attacks that rely on invalid headers being accepted. avoid using this option.
๐จ bestie no. i'm serious. avoid using this option. it's right there in the manual. smuggling attacks are not the vibe ๐
--jitlessโ disable runtime allocation of executable memory. this may be required on some platforms for security reasons. it can also reduce attack surface on other platforms, but the performance impact may be severe.
this flag is inherited from V8 and is subject to change upstream. it may disappear in a non-semver-major release. so don't get too attached ๐
--localstorage-file=fileโ the file used to storelocalStoragedata.--max-http-header-size=sizeโ specify the maximum size of HTTP headers in bytes. defaults to16 KiB.--max-old-space-size-percentage=percentageโ sets the maximum memory size of V8's old memory section as a percentage of available system memory. this flag takes precedence over--max-old-space-sizewhen both are specified. the percentage parameter must be a number greater than0and up to100, representing the percentage of available system memory to allocate to the V8 heap.
note: this flag utilizes --max-old-space-size, which may be unreliable on 32-bit platforms due to integer overflow issues. soโฆ 32-bit besties, beware ๐ญ
--napi-modulesโ this option is a no-op. it is kept for compatibility. it does literally nothing and it's staying. respect the legacy ๐--no-deprecationโ silence deprecation warnings. (ignorance is bliss, apparently)--no-extra-info-on-fatal-exceptionโ hide extra information on fatal exception that causes exit.--no-force-async-hooks-checksโ disable runtime checks forasync_hooks. these will still be enabled dynamically whenasync_hooksis enabled.--no-addonsโ disable thenode-addonsexports condition as well as disable loading native addons. when--no-addonsis specified, callingprocess.dlopenor requiring a native C++ addon will fail and throw an exception. so like, don't try it ๐ซ
Okay bestie, buckle up, the flag wall continues ๐ no skipping, we read all of these.
--no-global-search-pathsโ literally just don't search for modules in global paths. that's it, that's the whole vibe ๐ซ--no-warningsโ silences all process warnings, and yes that includes deprecations. quiet mode activated ๐คซ--node-memory-debugโ turns on extra debug checks for memory leaks inside Node.js internals. honestly this is only useful if you're debugging Node.js itself, like the actual runtime. not your app. respect tho ๐ซก--openssl-config=fileโ loads an OpenSSL configuration file at startup. among other uses, you can use this to enable FIPS-compliant crypto if Node.js was built with./configure --openssl-fips. fancy ๐--pending-deprecationโ emits pending deprecation warnings. the ones that aren't yelling yet, they're just... foreshadowing ๐--preserve-symlinksโ tells the module loader to preserve symbolic links when resolving and caching modules. heads up: this is for modules other than the main module ๐--preserve-symlinks-mainโ same symlink-preserving energy, but specifically for the main module. main character treatment, obviously ๐--profโ generates V8 profiler output. numbers! graphs! performance lore! ๐--prof-processโ processes the V8 profiler output that was generated using the V8 option--prof. the follow-up step, iykyk ๐--redirect-warnings=fileโ writes process warnings into the given file instead of printing them tostderr. redirect that negativity ๐--report-compactโ writes diagnostic reports in a compact format: single-line JSON. minimal, clean, slay โจ--report-dir,--report-directoryโ the location where the diagnostic report gets generated. thefilename may be an absolute path. if it's not absolute, then the default directory it gets written to is controlled by the--diagnostic-dircommand-line option. path girlies rise ๐๏ธ--report-filenameโ the name of the file the diagnostic report gets written to. name your child ๐--report-on-fatalerrorโ makes the diagnostic report trigger on fatal errors โ and by that we mean internal errors inside the Node.js runtime, like running out of memory โ that lead to your application terminating. super useful for inspecting diagnostic data elements like heap, stack, event loop state, resource consumption etc. so you can actually reason about the fatal error. detective mode ๐--report-on-signalโ makes a diagnostic report get generated when the running Node.js process receives the specified (or predefined) signal. the default signal isSIGUSR2๐ก--report-signalโ sets or resets the signal used for diagnostic report generation. not supported on Windows. default signal isSIGUSR2๐ช๐ซ--report-uncaught-exceptionโ generates a diagnostic report on un-caught exceptions. great for inspecting your JavaScript stack alongside the native stack and other runtime environment data. the receipts ๐งพ--secure-heap=nโ sets the size of the OpenSSL secure heap. any value less than 2 disables the secure heap. default is0. the value must be a power of two. rules are rules ๐ธ--secure-heap-min=nโ sets the minimum allocation from the OpenSSL secure heap. default is2, and again the value must be a power of two. two-pilled ๐ง--testโ starts the Node.js command line test runner. test era begins ๐งช--test-concurrencyโ the maximum number of test files that the test runner CLI will execute concurrently. how many at once, bestie ๐โโ๏ธ--test-coverage-branches=thresholdโ requires a minimum threshold for branch coverage (0-100) ๐ฟ--test-coverage-excludeโ a glob pattern that excludes matching files from the coverage report. not you, girl ๐ โโ๏ธ--test-coverage-functions=thresholdโ requires a minimum threshold for function coverage (0-100) ๐งฎ--test-coverage-includeโ a glob pattern that only includes matching files in the coverage report. this is the VIP list ๐๏ธ--test-coverage-lines=thresholdโ requires a minimum threshold for line coverage (0-100) ๐--test-force-exitโ configures the test runner to exit the process once all known tests have finished executing, even if the event loop would otherwise remain active. bye, we're done here ๐--test-name-patternโ a regular expression that configures the test runner to only execute tests whose name matches the pattern you gave it. regex girlies, this one's for you ๐--test-reporterโ a test reporter to use when running tests. pick your narrator ๐๏ธ--test-reporter-destinationโ the destination for the corresponding test reporter. where the narration goes ๐ฌ--test-onlyโ configures the test runner to only execute top level tests that have theonlyoption set. exclusive โจ--test-shardโ the test suite shard to execute, in a format of<index>/<total>. divide and conquer ๐ฐ--test-skip-patternโ a regular expression that configures the test runner to skip tests whose name matches the pattern. not invited ๐ซ--test-timeoutโ a number of milliseconds after which the test execution will fail. the clock is ticking โฐ--test-update-snapshotsโ regenerates the snapshot file used by the test runner for snapshot testing. refresh ๐ฆ--throw-deprecationโ throws errors for deprecations. no more gentle warnings, we're throwing hands ๐ค--title=titleโ specifyprocess.titleon startup. name your process ๐--tls-cipher-list=listโ specify an alternative default TLS cipher list. requires Node.js to be built with crypto support.(Default)๐--tls-keylog=fileโ logs TLS key material to a file. the key material is in NSSSSLKEYLOGFILEformat, and software (such as Wireshark) can use it to decrypt the TLS traffic. yes this is as spicy as it sounds ๐ต๏ธโโ๏ธ--tls-max-v1.2โ sets the defaultmaxVersionto'TLSv1.2'. use it to disable support for TLSv1.3 ๐ฝ--tls-max-v1.3โ sets the defaultmaxVersionto'TLSv1.3'. use it to enable support for TLSv1.3 ๐ผ--tls-min-v1.0โ sets the defaultminVersionto'TLSv1'. use for compatibility with old TLS clients or servers ๐ง--tls-min-v1.1โ sets the defaultminVersionto'TLSv1.1'. use for compatibility with old TLS clients or servers ๐ง--tls-min-v1.2โ sets the defaultminVersionto'TLSv1.2'. this is the default for12.xand later, but the option is supported for compatibility with older Node.js versions ๐ซถ--tls-min-v1.3โ sets the defaultminVersionto'TLSv1.3'. use it to disable support for TLSv1.2 in favour of TLSv1.3, which is more secure ๐--trace-atomics-waitโ prints short summaries of calls toAtomics.wait(). this flag is deprecated โ ๏ธ--trace-deprecationโ prints stack traces for deprecations. show me the receipts ๐งพ--trace-event-categoriescategories โ a comma-separated list of categories that should be traced when trace event tracing is enabled using--trace-events-enabled๐ท๏ธ--trace-event-file-patternpattern โ a template string specifying the filepath for the trace event data. it supports${rotation}and${pid}๐--trace-events-enabledโ enables the collection of trace event tracing information. collect the lore ๐--trace-exitโ prints a stack trace whenever an environment is exited proactively, i.e. invokingprocess.exit()๐ช--trace-sigintโ prints a stack trace onSIGINT๐--trace-sync-ioโ prints a stack trace whenever synchronous I/O is detected after the first turn of the event loop. caught in 4k ๐ญ--trace-tlsโ prints TLS packet trace information tostderr๐จ--trace-uncaughtโ prints stack traces for uncaught exceptions. usually the stack trace associated with the creation of anErroris printed, whereas this makes Node.js also print the stack trace associated with throwing the value (which does not need to be anErrorinstance). warning: enabling this option may affect garbage collection behavior negatively ๐--trace-warningsโ prints stack traces for process warnings (including deprecations) ๐ชต--track-heap-objectsโ tracks heap object allocations for heap snapshots. keeping tabs ๐--unhandled-rejections=modeโ defines the behavior for unhandled rejections. mode can be one ofstrict(raise an error),warn(enforce warnings) ornone(silence warnings) ๐๏ธ--use-bundled-ca,--use-openssl-caโ use the bundled Mozilla CA store as supplied by your current Node.js version, or use OpenSSL's default CA store. the default store is selectable at build-time ๐๏ธ
okay so about the bundled CA store: as supplied by Node.js, it's a snapshot of the Mozilla CA store that's fixed at release time. it's identical on all supported platforms ๐
using the OpenSSL store allows for external modifications of the store. for most Linux and BSD distributions, this store is maintained by the distribution maintainers and system administrators. the OpenSSL CA store location depends on the configuration of the OpenSSL library, but you can alter this at runtime using environment variables ๐ง
see SSL_CERT_DIR and SSL_CERT_FILE ๐
--use-env-proxyโ parses proxy settings from theHTTP_PROXY/HTTPS_PROXY/NO_PROXYenvironment variables and applies the setting in global HTTP/HTTPS clients ๐--use-system-caโ uses the trusted CA certificates present in the system store, in addition to the certificates in the bundled Mozilla CA store and certificates fromNODE_EXTRA_CA_CERTS. on Windows and macOS, it uses system APIs to integrate additional trusted certificates. on other platforms it's similar to--use-openssl-ca, except that it caches the certificates on first load, and the system certificates are added in a complementary manner without replacing certificates from other sources. this flag supersedes--use-openssl-ca๐--use-largepages=modeโ re-maps the Node.js static code to large memory pages at startup. if the target system supports it, this moves the Node.js static code onto 2 MiB pages instead of 4 KiB pages ๐
mode must be one of these values: off (the default value, meaning do not map), on (map and ignore failure, reporting it to stderr), or silent (map and silently ignore failure) ๐ค
--v8-optionsโ prints V8 command-line options โ๏ธ--v8-pool-size=numโ sets V8's thread pool size, which is used to allocate background jobs. if it's set to0, then V8 will choose an appropriate thread pool size based on the number of online processors. if the value you provide is larger than V8's maximum, then the largest value will be chosen. math ๐ง--watchโ starts Node.js in watch mode. when it's in watch mode, changes in the watched files cause the Node.js process to restart. live, laugh, reload ๐
Like, by default watch mode is gonna watch the entry point plus any required or imported module. Want more control? Use --watch-path to specify what paths to watch. ๐
--watch-pathโ Starts Node.js in watch mode and tells it exactly what paths to watch. When you're in watch mode, changes in the watched paths make the Node.js process restart. Heads up though: this turns off watching of required or imported modules, even when you use it together with--watch. So like, pick your fighter. ๐ซถ--watch-kill-signalโ Customizes the signal that gets sent to the process on watch mode restarts. You're the one choosing the vibe of the goodbye. โจ--zero-fill-buffersโ Automatically zero-fills every newly allocatedBufferandSlowBufferinstance. Clean slate energy, literally. ๐ง-c,--checkโ Checks the script's syntax without executing it. Exits with an error code if the script is invalid. It's giving "read it before you send it" bestie. ๐ญ-e,--eval stringโ Evaluatestringas JavaScript. Just, like, straight into it.-h,--helpโ Print command-line options. Ngl the output of this option is less detailed than this document, so if you want the full tea, keep reading. ๐-i,--interactiveโ Opens the REPL even if stdin does not appear to be a terminal. Main character behavior: forcing the interaction. ๐-p,--print stringโ Identical to-e, but prints the result. So you actually get to see it. Obsessed.-r,--require moduleโ Preloads the specified module at startup. Followsrequire()'s module resolution rules.modulecan be either a path to a file, or a Node.js module name. Either way it's coming with you. ๐ธ-v,--versionโ Printnode's version. The classic "who even am I right now" check. ๐ฆ
๐ ENVIRONMENT ๐
The environment variables are literally the backstage pass, bestie. This is where the real customization lives.
FORCE_COLORโ Used to enable ANSI colorized output. The value may be one of:1,true, or an empty string, to indicate 16-color support;2to indicate 256-color support; or3to indicate 16 million-color support. When used and set to a supported value, both theNO_COLORandNODE_DISABLE_COLORSenvironment variables are ignored. Any other value will result in colorized output being disabled. So like, be precise, okay? ๐NO_COLORโ Alias forNODE_DISABLE_COLORS. Same energy, shorter name.NODE_COMPILE_CACHE dirโ Enable the module compile cache for the Node.js instance. Speed things up, slay. โญNODE_DEBUG modules...โ Comma-separated list of core modules that should print debug information. Turn on the little spy cameras. ๐NODE_DEBUG_NATIVE modules...โ Comma-separated list of C++ core modules that should print debug information. Same but for the C++ girlies.NODE_DISABLE_COMPILE_CACHEโ Disable the module compile cache for the Node.js instance. Sometimes you just gotta turn it off, no cap.NODE_DISABLE_COLORSโ When set to1, colors will not be used in the REPL. Monochrome moment. ๐คNODE_EXTRA_CA_CERTS fileโ When set, the well-known "root" CAs (like VeriSign) will be extended with the extra certificates infile. The file should consist of one or more trusted certificates in PEM format. Iffileis missing or misformatted, a message will be emitted once usingprocess.emitWarning(), but any errors are otherwise ignored. This environment variable is ignored whennoderuns as setuid root or has Linux file capabilities set. Also, theNODE_EXTRA_CA_CERTSenvironment variable is only read when the Node.js process is first launched โ changing the value at runtime usingprocess.env.NODE_EXTRA_CA_CERTShas no effect on the current process. So like, commit at boot or don't bother. ๐NODE_ICU_DATA fileโ Data path for ICU (Intlobject) data. Will extend linked-in data when compiled withsmall-icusupport.NODE_NO_WARNINGSโ When set to1, process warnings are silenced. Shhh. Peace and quiet. ๐คซ (that's the vibe, anyway)NODE_OPTIONS options...โ A space-separated list of command-line options, which are interpreted as if they had been specified on the command line before the actual command (so they can be overridden). Node.js will exit with an error if an option that is not allowed in the environment is used, such as--printor a script file. So, like, not everything gets an invite to this party. ๐๏ธNODE_PATH directories...โ A colon-separated list of directories prefixed to the module search path. Point the loader in the right direction. ๐งญNODE_PENDING_DEPRECATIONโ When set to1, emit pending deprecation warnings. Warning you before it's a whole problem. ๐NODE_PENDING_PIPE_INSTANCESโ Set the number of pending pipe instance handles when the pipe server is waiting for connections. This setting applies to Windows only. ๐ชNODE_PRESERVE_SYMLINKSโ When set to1, the module loader preserves symbolic links when resolving and caching modules. Keeping the shortcuts intact, fr fr.NODE_REDIRECT_WARNINGS fileโ Write process warnings to the given file instead of printing to stderr. Equivalent to passing--redirect-warnings fileon the command line. Diary entry but make it stderr. ๐NODE_REPL_HISTORY fileโ Path to the file used to store persistent REPL history. The default path is~/.node_repl_history, which is overridden by this variable. Setting the value to an empty string (""or" ") will disable persistent REPL history. Ghost mode: enabled. ๐ปNODE_REPL_EXTERNAL_MODULE fileโ Path to a Node.js module which will be loaded in place of the built-in REPL. Overriding this value to an empty string ('') will use the built-in REPL. Swap in your custom one, or don't. Your call. ๐NODE_SKIP_PLATFORM_CHECKโ When set to1, the check for a supported platform is skipped during Node.js startup. Node.js might not execute correctly. Any issues encountered on unsupported platforms will not be fixed. So like, this is your chaotic choice and I'm just the messenger. ๐NODE_TEST_CONTEXTโ When set to'child', test reporter options will be overridden and test output will be sent to stdout in the TAP format. If any other value is provided, Node.js makes no guarantees about the reporter format used or its stability. Little gremlin variable, honestly.NODE_TLS_REJECT_UNAUTHORIZEDโ When set to0, TLS certificate validation is disabled. โ ๏ธ Bestie. That's a security thing. Be careful, okay?NODE_USE_ENV_PROXYโ When enabled, Node.js parses theHTTP_PROXY,HTTPS_PROXYandNO_PROXYenvironment variables during startup, and tunnels requests over the specified proxy. This currently only affects requests sent overfetch(). Support for other built-inhttpandhttpsmethods is under way. So like, it's in its expanding era. ๐ฆNODE_USE_SYSTEM_CAโ Similar to--use-system-ca. Use the trusted CA certificates present in the system store, in addition to the certificates in the bundled Mozilla CA store and certificates fromNODE_EXTRA_CA_CERTS. Trust everyone legit, basically. ๐ซถNODE_V8_COVERAGE dirโ When set, Node.js writes JavaScript code coverage information todir. Receipts, but for your code.OPENSSL_CONF fileโ Load an OpenSSL configuration file on startup. Among other uses, this can be used to enable FIPS-compliant crypto if Node.js is built with./configure --openssl-fips. If the--openssl-configcommand-line option is used, this environment variable is ignored. Command line wins, periodt. โญSSL_CERT_DIR dirโ If--use-openssl-cais enabled, this overrides and sets OpenSSL's directory containing trusted certificates.SSL_CERT_FILE fileโ If--use-openssl-cais enabled, this overrides and sets OpenSSL's file containing trusted certificates.TZโ Specify the timezone configuration. Time is a construct, but timezones are real, unfortunately. ๐UV_THREADPOOL_SIZE sizeโ Sets the number of threads used in libuv's threadpool tosize. More threads = more chaos = more power, choose wisely. ๐ฅ
๐ BUGS ๐
Bugs are tracked in GitHub Issues: https://github.com/nodejs/node/issues
So if something's acting up, that's where the group chat lives. Go report it, bestie โ they're actually really nice about it. ๐
๐ COPYRIGHT ๐
Copyright Node.js contributors. Node.js is available under the MIT license.
Node.js also includes external libraries that are available under a variety of licenses. See https://github.com/nodejs/node/blob/HEAD/LICENSE for the full license text.
Legal stuff but make it readable. ๐โจ
๐ SEE ALSO ๐
- Website:
https://nodejs.org/ - Documentation:
https://nodejs.org/api/ - GitHub repository and issue tracker:
https://github.com/nodejs/node
Okay that's the whole page bestie, you ate that. ๐ This particular vintage is dated 2018 and calls itself NODE(1) โ so if you see that footer, you know exactly where you are. Go build something iconic. ๐ฆ๐
๐ฆ where this page comes from
- opensuse-leap 16.0: nodejs22 22.23.4-160000.1.1 ยท MIT
- opensuse-leap 16.0: nodejs22 22.23.4-160000.1.1 ยท MIT
- opensuse-leap 16.0: nodejs22 22.23.4-160000.1.1 ยท MIT
- opensuse-leap 16.0: nodejs22 22.23.4-160000.1.1 ยท MIT
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms