lib/index.js
function getLinkedDeps(pkgs) {
  return pkgs.map((name) => {
    const isLinked = checkForLink(name);
    return isLinked ? name : false;
  }).filter(Boolean);
}
function getLinkedDeps(pkgs) {
  return pkgs.map((name) => {
    const isLinked = checkForLink(name);
    return isLinked ? name : false;
  }).filter(Boolean);
}
function getLinkedDeps ( pkgs ) { return pkgs . map ( ( name ) => { const isLinked = checkForLink ( name ) ; return isLinked ? name : false ; } ) . filter ( Boolean ) ; }
getLinkedDeps returns a list of linked dependencies
@param  {Array} pkgs   An array of dependencies
@return {Array}        Array of linked dep names
getLinkedDeps returns a list of linked dependencies