func (n *NPMLookup) PackagesNotInPublic() []string {
	notavail := []string{}
	for _, pkg := range n.Packages {
		if n.localReference(pkg.Version) || n.urlReference(pkg.Version) {
			continue
		}
		if n.gitHubReference(pkg.Version) {
			if !n.gitHubOrgExists(pkg.Version) {
				notavail = append(notavail, pkg.Name)
				continue
			} else {
				continue
			}
		}
		if !n.isAvailableInPublic(pkg.Name, 0) {
			notavail = append(notavail, pkg.Name)
		}
	}
	return notavail
}
// PackagesNotInPublic determines if an npm package does not exist in the public npm package repository.
//
// Returns a slice of strings with any npm packages not in the public npm package repository
PackagesNotInPublic determines if an npm package does not exist in the public npm package repository.

Returns a slice of strings with any npm packages not in the public npm package repository
// PackagesNotInPublic determines if an npm package does not exist in the public npm package repository . // // Returns a slice of strings with any npm packages not in the public npm package repository
func (n *NPMLookup) PackagesNotInPublic() []string {
	notavail := []string{}
	for _, pkg := range n.Packages {
		if n.localReference(pkg.Version) || n.urlReference(pkg.Version) {
			continue
		}
		if n.gitHubReference(pkg.Version) {
			if !n.gitHubOrgExists(pkg.Version) {
				notavail = append(notavail, pkg.Name)
				continue
			} else {
				continue
			}
		}
		if !n.isAvailableInPublic(pkg.Name, 0) {
			notavail = append(notavail, pkg.Name)
		}
	}
	return notavail
}
func ( n * NPMLookup ) PackagesNotInPublic ( ) [ ] string { notavail := [ ] string { } for _ , pkg := range n . Packages { if n . localReference ( pkg . Version ) || n . urlReference ( pkg . Version ) { continue } if n . gitHubReference ( pkg . Version ) { if ! n . gitHubOrgExists ( pkg . Version ) { notavail = append ( notavail , pkg . Name ) continue } else { continue } } if ! n . isAvailableInPublic ( pkg . Name , 0 ) { notavail = append ( notavail , pkg . Name ) } } return notavail }
PackagesNotInPublic determines if an npm package does not exist in the public npm package repository.
PackagesNotInPublic determines if an npm package does not exist in the public npm package repository .