code: public static Requirement buildNPM(String requirement) {
          if (requirement.isEmpty()) {
              requirement = "*";
          }
          return buildWithTokenizer(requirement, Semver.SemverType.NPM);
      }
docs: Builds a requirement following the rules of NPM.
  
  @param requirement the requirement as a string
  
  @return the generated requirement