index.js
function (file) {
	var folder = path.dirname(file) + '/' + path.basename( file, '.json' );
	return fs.existsSync(folder) && isDir(folder) ? folder : false;
}
function (file) {
	var folder = path.dirname(file) + '/' + path.basename( file, '.json' );
	return fs.existsSync(folder) && isDir(folder) ? folder : false;
}
function ( file ) { var folder = path . dirname ( file ) + '/' + path . basename ( file , '.json' ) ; return fs . existsSync ( folder ) && isDir ( folder ) ? folder : false ; }
return path of folder with same name as .json file if exists
return path of folder with same name as . json file if exists