• In fact I think even prefixing your module with var module=this; will work.

    watch out, the this inside a module is the exports itself, not the module ... I know it's quite confusing but better knowing this before doing any work.

    console.log(this === module.exports);
    

    If you require a file like that, the log is true in (node|io).js

About