public static Requirement buildNPM ( String requirement ) { if ( requirement . isEmpty ( ) ) { requirement = "*" ; } return buildWithTokenizer ( requirement , Semver . SemverType . NPM ) ; }
Builds a requirement following the rules of NPM .