code: function installPackage(packageToInstall, isGlobal, isSudo, doSave) {
    let command = 'npm install';
  
    if (isSudo === true) {
      command = `sudo ${command}`;
    }
  
    if (isGlobal === true) {
      command = `${command} -g`;
    }
  
    if (packageToInstall !== null) {
      command = `${command} ${packageToInstall}`;
    }
  
    if (doSave) {
      command = `${command} --${doSave}`;
    }
  
    execSync(command);
    return true;
  }
docs: @function
  @name installPackage
  @description
  Install the given package
  
  @param {String} packageToInstall - Name of the package to install
  @param {boolean} isGlobal - Should the package be installed globally?
  @param {boolean} isSudo - Should the package be installed using `sudo`?
  @param {String} doSave - Should the package be saved in `package.json`? ```['save', 'save-dev']```