Hi Guest 1 HomePage 1 Jobs 1 WalkIn 1Articles  

 :) Latest Topic
Node.js Tutorial
Parts of Node.js
Features of Node.js
Install Node.js Windows
Install Node.js Linux
Node.js First Example
Node.js Console
Node.js REPL
Node.js NPM
Node.js CL Options1
Node.js CL Option2
Node.js Globals
Node.js OS
Node.js Timer
Node.js Errors
Node.js DNS
Node.js Net
Node.js Crypto
Node.js TLS/SSL
Node.js Debugger
Node.js Process
Node.js Process Example
Node.js Process Example2
Node.js Child Process
Child Process EXEC
Child Process SPAWN
Child Process Fork
Node.js Buffers
Node.js Streams
Node.js Reading Stream
Node.js Writing Stream
Node.js Piping Stream
Node.js Chaining Streams
Node.js File System Part1
Node.js File System Part2
Node.js File System Part3
Node.js Path
Node.js StringDecoder
Node.js Query String
Node.js ZLIB
Node.js Assertion
Node.js V8
Node.js Callbacks
Node.js Events
Node.js Punycode
Node.js TTY
Node.js Web Module
Node.js Upload Files
Node.js Email Send
Node.js BuiltIn Modules
Node.js Assert Code
Node.js Assert Function
Node.js console.time()
 


  

 
Node.js CL Options1
Question Posted on 30 Jan 2024

Home >> 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:-


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)



Other Important Questions
Parts of Node.js
Install Node.js Linux
Node.js First Example
Node.js Globals
Node.js DNS







 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |