package.bin.getopts.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of short-unique-id Show documentation
Show all versions of short-unique-id Show documentation
Generate random or sequential UUID of any length
The newest version!
(function(){var t,n,o,e=[].slice;n=require("path"),t=function(){function t(t){this.short_options={},this.long_options={},this.long_names=[],this.events={},this.argv=[],this.options={},this.unique_names={},this.optionsPattern=[],this.errorFunc=function(t){return console.info(t.message),process.exit(1)},process.argv[1]?this.help="Usage:\n node "+n.basename(process.argv[1])+" [OPTION]\n\nOptions:\n[[OPTIONS]]":this.help="[[OPTIONS]]",this.append(t)}return t.HAS_ARGUMENT=!0,t.NO_ARGUMENT=!1,t.MULTI_SUPPORTED=!0,t.SINGLE_ONLY=!1,t.VERSION="0.3.2",t.prototype.append=function(t){var n,e,i,s,r,h,p,l,u,a,f,c,g;for(c=0,g=t.length;cn?1:t