code: function getNodeModulesToInstall(dependencies) {
      const modules = [];
      for (const module in dependencies) {
        if (dependencies.hasOwnProperty(module)) {
          try {
            require(module);
          } catch (err) {
            modules.push(module);
          }
        }
      }
      return modules;
    }
docs: checks to see which node modules need to be installed from package.json.dependencies