You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/node.1
+169-2Lines changed: 169 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,13 @@ Allow execution of WASI when using the permission model.
94
94
.ItFl-allow-worker
95
95
Allow creating worker threads when using the permission model.
96
96
.
97
+
.ItFl-build-snapshot
98
+
Generates a snapshot blob when the process exits and writes it to disk, which can be loaded later with
99
+
.Sy--snapshot-blob.
100
+
.
101
+
.ItFlbuild-snapshot-config
102
+
Specifies the path to a JSON configuration file which configures snapshot creation behavior.
103
+
.
97
104
.ItFl-completion-bash
98
105
Print source-able bash completion script for Node.js.
99
106
.
@@ -145,6 +152,15 @@ is `delete`, the property will be removed entirely. If
145
152
is `throw`, accesses to the property will throw an exception with the code
146
153
`ERR_PROTO_ACCESS`.
147
154
.
155
+
.ItFl-disable-sigusr1
156
+
Disable the ability of starting a debugging session by sending a SIGUSR1 signal to the process.
157
+
.
158
+
.ItFldisable-warningNs=NsArcode-or-type
159
+
Disable specific process warnings by
160
+
.Arcode
161
+
or
162
+
.Artype .
163
+
.
148
164
.ItFl-disable-wasm-trap-handlerNs=NsArmode
149
165
Disable trap-handler-based WebAssembly bound checks and fall back to
150
166
inline bound checks so that WebAssembly can be run with limited virtual
@@ -155,17 +171,36 @@ Make built-in language features like `eval` and `new Function` that generate
155
171
code from strings throw an exception instead. This does not affect the Node.js
156
172
`vm` module.
157
173
.
174
+
.ItFl-dns-result-orderNs=NsArorder
175
+
Set the default value of order in
176
+
.Ardns.lookup()
177
+
and
178
+
.ArdnsPromises.lookup() .
179
+
.
158
180
.ItFl-enable-fips
159
181
Enable FIPS-compliant crypto at startup.
160
182
Requires Node.js to be built with
161
183
.Sy./configure--openssl-fips .
162
184
.
185
+
.ItFl-enable-network-family-autoselection
186
+
Enables the family autoselection algorithm unless connection options explicitly disables it.
187
+
.
163
188
.ItFl-enable-source-maps
164
189
Enable Source Map V3 support for stack traces.
165
190
.
166
191
.ItFl-entry-url
167
192
Interpret the entry point as a URL.
168
193
.
194
+
.ItFl-env-file-if-existsNs=NsArconfig
195
+
Behavior is the same as
196
+
.Ar--env-file
197
+
,
198
+
but an error is not thrown if the file does not exist.
199
+
.
200
+
.ItFlenv-fileNs=NsArconfig
201
+
Loads environment variables from a file relative to the current directory, making them available to applications on
202
+
.Syprocess.env .
203
+
.
169
204
.ItFl-experimental-addon-modules
170
205
Enable experimental addon module support.
171
206
.
@@ -183,6 +218,20 @@ Specify the
183
218
.Armodule
184
219
to use as a custom module loader.
185
220
.
221
+
.ItFl-experimental-network-inspection
222
+
Enable experimental support for the network inspection with Chrome DevTools.
223
+
.
224
+
.ItFl-experimental-print-required-tla
225
+
If the ES module being
226
+
.Syrequire()'d
227
+
contains top-level await, this flag allows Node.js to evaluate the module, try to locate the top-level awaits, and print their location to help users find them.
228
+
.
229
+
.ItFl-experimental-require-module
230
+
Supports loading a synchronous ES module graph in require().
231
+
.
232
+
.ItFl-experimental-sea-config
233
+
Use this flag to generate a blob that can be injected into the Node.js binary to produce a single executable application.
234
+
.
186
235
.ItFl-permission
187
236
Enable the permission model.
188
237
.
@@ -207,9 +256,15 @@ Disable experimental support for the WebSocket API.
207
256
.ItFl-experimental-webstorage
208
257
Enable experimental support for the Web Storage API.
209
258
.
259
+
.ItFl-experimental-worker-inspection
260
+
Enable experimental support for the worker inspection with Chrome DevTools.
261
+
.
210
262
.ItFl-no-experimental-repl-await
211
263
Disable top-level await keyword support in REPL.
212
264
.
265
+
.ItFl-no-experimental-require-module
266
+
Disable support for loading a synchronous ES module graph in require().
267
+
.
213
268
.ItFl-no-experimental-sqlite
214
269
Disable the experimental node:sqlite module.
215
270
.
@@ -238,6 +293,11 @@ Force FIPS-compliant crypto on startup
238
293
Same requirements as
239
294
.Fl-enable-fips .
240
295
.
296
+
.ItFl-force-node-api-uncaught-exceptions-policy
297
+
Enforces
298
+
.SyuncaughtException
299
+
event on Node-API asynchronous callbacks.
300
+
.
241
301
.ItFl-frozen-intrinsics
242
302
Enable experimental frozen intrinsics support.
243
303
.
@@ -278,6 +338,10 @@ Specify ICU data load path.
278
338
Overrides
279
339
.EvNODE_ICU_DATA .
280
340
.
341
+
.ItFl-importNs=NsArmodule
342
+
Preload the specified module at startup. If the flag is provided several times, each module will be executed sequentially in the order they appear, starting with the ones provided in
343
+
.ArNODE_OPTIONS .
344
+
.
281
345
.ItFl-input-typeNs=NsArtype
282
346
Set the module resolution type for input via --eval, --print or STDIN.
283
347
.
@@ -339,9 +403,22 @@ Specify the maximum size of HTTP headers in bytes. Defaults to 16 KiB.
0 commit comments