Expose GC at runtime without access to comamnd node flags in command line
npm install expose-gcIf for some reason you don't have access to how node is started or you haven't bothered with setting v8 flags, this module exposes the real gc for you.
npm i expose-gcjs
require('expose-gc');global.gc();
`I just want a function, no global please!
`
const gc = require('expose-gc/function');gc();
``