Harry Harry - 5 months ago 12
Node.js Question

How do i check what are the Node.js flags

Google is failing me, how do I get the node.js flags and or access the nodejs help?

node --flags


is not working.

Answer

you can write

node --v8-options

which will give you all the options (flags) that you can use when running node.

to see the flags and options passed to node from javascript, write the following

process.argv

this will return an array of the whole command written. starting with node