Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6 7 8
'use strict'; const oldRunMain = require('module').runMain; require('module').runMain = function(...args) { console.log('runMain is monkey patched!'); oldRunMain(...args); };