code: function log(err, pkg, tree) {
        var list
          ;
  
        if (err) {
          throw err;
        }
  
        // puts the list in the correct order
        list = reduceTree(tree);
        // pop off the bottom (this local package)
        list.pop();
  
        installAll(list);
      }
docs: TODO needs an emitter for listing files as read