code: def add_package(
      self,
      package,
      node_paths=None, 
      type_option=PackageInstallationTypeOption.PROD,
      version_option=None):
      
      args=self._get_add_package_args(
        package,
        type_option=type_option,
        version_option=version_option)
      return self.run_command(args=args, node_paths=node_paths)
docs: Returns a command that when executed will add a node package to current node module.
  
      :param package: string.  A valid npm/yarn package description.  The accepted forms are
        package-name, package-name@version, package-name@tag, file:/folder, file:/path/to.tgz
        https://url/to.tgz
      :param node_paths: A list of path that should be included in $PATH when
        running the script.
      :param type_option: A value from PackageInstallationTypeOption that indicates the type
        of package to be installed. Default to 'prod', which is a production dependency.
      :param version_option: A value from PackageInstallationVersionOption that indicates how
        to match version. Default to None, which uses package manager default.