docs: function (module) {
  	const configKey = 'unjar-from-url-config';
  
  	if (module == null) {
  		return [];
  	}
  
  	var highestParent;
  	if (module.parent != null) {
  		highestParent = module.parent;
  	} else {
  		highestParent = module;
  	}
  
  
  	var parentFound = false;
  
  	// iterate up to all parents, until parent is undefined => root of all
  	while (!parentFound) {
  		parentFound = highestParent.parent == undefined || highestParent.parent == null;
  		// go to upper parent
  		if (!parentFound) {
  			highestParent = highestParent.parent;
  		}
  	}
  
  	// get the path to project itself (where the package.json is)
  	var pathToNodeModules = highestParent.paths[0].split("node_modules")[0];
  
  	// read the package json
  	var packageJson = require(pathToNodeModules + "package.json");
  
  	var unjarFromUrlConfig;
  	if (packageJson != null && packageJson[configKey] != null) {
  		unjarFromUrlConfig = packageJson[configKey];
  	}
  
  	if (unjarFromUrlConfig != null) {
  		// add the highest parent path (used as nodeModulesDir later) to each item
  		var nodeModulesDir = highestParent.paths != null ? highestParent.paths[0] : '';
  		unjarFromUrlConfig.forEach(function (item) {
  			item.nodeModulesDir = nodeModulesDir
  		});
  	} else {
  		console.warn("No config found in package.json: ", pathToNodeModules + "package.json");
  		unjarFromUrlConfig = [];
  	}
  
  	return unjarFromUrlConfig;
  }