// parse out just the options we care about so we always get a consistent// obj with keys in a consistent order.constopts=['includePrerelease','loose','rtl']constparseOptions=options=>!options?{}:typeofoptions!=='object'?{loose:true}:opts.filter(k=>options[k]).reduce((o,k)=>{o[k]=truereturno},{})module.exports=parseOptions