NODE_OPTIONS

An environment variable holding command-line options that every node process started in that environment applies, including child processes.

In more detail

For example NODE_OPTIONS=--max-old-space-size=512 sets the heap limit without changing the start command. Only some flags are allowed there, and the Node.js documentation lists which.

Related terms

Taught in

References