index.js
function getInfo(d) {
  var p = path.join(d, 'package.json')
  return exists(p) ? require(p) : false
}
function getInfo(d) {
  var p = path.join(d, 'package.json')
  return exists(p) ? require(p) : false
}
function getInfo ( d ) { var p = path . join ( d , 'package.json' ) return exists ( p ) ? require ( p ) : false }
Find and load the `package.json` of the parent

@param {String} target directory
@returns {Object} package info
Find and load the package . json of the parent