Does anyone know if it is possible to pass node command line options (e.g. --expose-gc) directly into an npm executable.
I Have a node module that builds an executable (See here). I want that executable to have access to global.gc(). In order to do this, you need to start your node process with the --expose-gc flag.
I could force users to wrap my executable around a node command but then why do i even need an executable. Thoughts?