code: function requireMaybe(moduleName) {
    try {
      var modulePath = require.resolve(moduleName);
    } catch (e) {
      return null;
    }
    // just let this fall through
    return require(moduleName);
  }
docs: /*
  Try to require module, or return null.
  @param {String} moduleName Path to possible module.