code: function getModuleRequirePath(moduleName) {
    return moduleName[0] === '.' ?
      require.resolve(resolve(process.cwd(), moduleName)) :
      moduleName
  }
docs: Determines the proper require path for a module.
  If the path starts with `.` then it is resolved with process.cwd()
  @param  {String} moduleName The module path
  @return {String} the module path to require