typeof global != 'undefined' || (window.global = window);
global.console && console.log('module.js');

function expand(path, parent) {
  
}

function require(path, name) {
  
}

require.cache = {};

function load(path, callback) {
  callback(err, parent)
}

typeof global != 'undefined' || (window.global = window);
global.console && console.log('module.js');

function define(name) {
  
}

function expand(path, parent) {
  
}

function require(path, name) {
  
}

require.cache = {};

function load(path, callback) {
  callback(err, parent)
}

Update module.js