Is there a list of flags for Node.js?

I am trying to find a list of all the flags that Node.js accept, especially those for ES6-Harmony functions, but I cannot find them. Is there anything similar?

+8
ecmascript-harmony
source share
2 answers

Run node --v8-options . This displays various flags that you can set to change the behavior of the V8.

eg. Flags for harmony functions are displayed there:

  --harmony_typeof (enable harmony semantics for typeof) type: bool default: false --harmony_proxies (enable harmony proxies) type: bool default: false --harmony_weakmaps (enable harmony weak maps) type: bool default: false --harmony_block_scoping (enable harmony block scoping) type: bool default: false 
+19
source share

If you apply the --help switch to a node from the shell, you will get a list of available flags;

 node --help 
+6
source share

All Articles