crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

Node.js CL Options1
Question Posted on 30 Jan 2024Home >> Tutorial >> Node.js Tutorial >> Node.js CL Options1

Node.js CL Options1

Node.js Command Line Options



When we say about the Node.js there are wide variety of command line option available. And these options provide multiple ways to execute scripts and other helpful run-time options.

Below are the list of Node.js command line option:-
0
0

IndexOptionDescription
1v, --versionIt is used to print node's version.
2-h, --helpIt is used to print node command line options.
3-e, --eval "script"It evaluates the following argument as JavaScript. The modules which are predefined in the REPL can also be used in script.
4-p, --print "script"It is identical to -e but prints the result.
5-c, --checkSyntax check the script without executing.
6-i, --interactiveIt opens the REPL even if stdin does not appear to be a terminal.
7-r, --require moduleIt is used to preload the specified module at startup. It follows require()'s module resolution rules. Module may be either a path to a file, or a node module name.
8--no-deprecationSilence deprecation warnings.
9--trace-deprecationIt is used to print stack traces for deprecations.
10--throw-deprecationIt throws errors for deprecations.
11--no-warningsIt silence all process warnings (including deprecations).
12--trace-warningsIt prints stack traces for process warnings (including deprecations).
13--trace-sync-io It prints a stack trace whenever synchronous i/o is detected after the first turn of the event loop.
14--zero-fill-buffersAutomatically zero-fills all newly allocated buffer and slowbuffer instances.
15--track-heap-objectsIt tracks heap object allocations for heap snapshots.
16--prof-processIt processes V8 profiler output generated using the v8 option --prof.
17--V8-optionsIt prints V8 command line options.
18--tls-cipher-list=listIt specifies an alternative default tls cipher list. (requires node.js to be built with crypto support. (default))
19--enable-fipsIt enables fips-compliant crypto at startup. (requires node.js to be built with ./configure --openssl-fips)
20--force-fipsIt forces fips-compliant crypto on startup. (cannot be disabled from script code.) (same requirements as --enable-fips)
21 --icu-data-dir=file It specifies ICU data load path. (Overrides node_icu_data)


.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

Parts of Node.js

Install Node.js Linux

Node.js First Example

Node.js Globals

Node.js DNS






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap