Hacker News new | ask | show | jobs
by bryanrasmussen 3468 days ago
I love that hack:

module.exports = Module;

// Do not recurse into module and waste all day Module.inspect = function() { return '[Module]' }

from https://github.com/fabiosantoscode/require-emscripten/blob/m...