function (app, callback) {
    var options = {
      dir: configHelpers.getModulesPath(),
      prefix: ''
    };
    npm.load(options, function () {
      npm.commands.uninstall([app], callback);
    });
  }
function (app, callback) {
    var options = {
      dir: configHelpers.getModulesPath(),
      prefix: ''
    };
    npm.load(options, function () {
      npm.commands.uninstall([app], callback);
    });
  }
function ( app , callback ) { var options = { dir : configHelpers . getModulesPath ( ) , prefix : '' } ; npm . load ( options , function ( ) { npm . commands . uninstall ( [ app ] , callback ) ; } ) ; }
Remove application source and dependencies using NPM lib.

@param {String} app App to fetch from NPM.
@param {Function} callback Callback to run once work is done.
Remove application source and dependencies using NPM lib .