code: function findModuleVersion(modulePath, load) {
    if (modulePath) {
      var pjson = path.join(modulePath, 'package.json');
      if (fs.existsSync(pjson)) {
        return load(pjson).version;
      }
    }
    return process.version;
  }
docs: Determines the version of the module located at `modulePath`.
  
  @param {?string} modulePath The absolute path to the root directory of the
  module being loaded. This may be null if we are loading an internal module
  such as http.